?
Solved

Xindice database. Add document.

Posted on 2004-04-14
9
Medium Priority
?
219 Views
Last Modified: 2010-03-31
I am trying to add a document in a xindice database but i am getting this error:
    'Exception in thread "main" java.lang.NoSuchMethodError' when i use this command to enter the document
    'xindice add_document -c /db/products -f C:\Project\parts.xml
I have the xindice server running fine.

Please help!!
0
Comment
Question by:Raftor
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
9 Comments
 

Author Comment

by:Raftor
ID: 10826639
I seen before CEHJ you posted a java program that  shows where certain jar files shoud be copied to.  Do you still have this program?
0
 
LVL 30

Expert Comment

by:Mayank S
ID: 10830244
The main () method is perhaps not present?
0
 
LVL 30

Expert Comment

by:Mayank S
ID: 10853352
What is the reason for deletion? The question never responded back to the comment posted.
0
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

 
LVL 30

Expert Comment

by:Mayank S
ID: 10853364
>> 'Exception in thread "main" java.lang.NoSuchMethodError'

- this happens when the main () method is not present and one attempts to run a program using: java ProgramName

That is exactly what I had aimed at when I said:

>> The main () method is perhaps not present?
0
 

Author Comment

by:Raftor
ID: 10853388
I got around the problem using the XMLdbGUI builder so it wasnt necessary to use the code i was working on.
Thanks anyway.
Raftor.
0
 
LVL 30

Expert Comment

by:Mayank S
ID: 10853461
Ok, fine. BTW, you still need a main () method to run the code. Or it should be something like an Applet/ Servlet/ JSP.
0
 

Author Comment

by:Raftor
ID: 10853496
Im not actually running that code at all now, its all been done through the XMLdbGUI builder.
0
 
LVL 1

Accepted Solution

by:
GhostMod earned 0 total points
ID: 10881835
PAQd, 100 points refunded.

GhostMod
Community Support Moderator
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
Suggested Courses

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question