Solved

Xindice database. Add document.

Posted on 2004-04-14
9
197 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
  • 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
Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

 
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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

For customizing the look of your lightweight component and making it look lucid like it was made of glass. Or: how to make your component more Apple-ish ;) This tip assumes your component to be of rectangular shape and completely opaque. (COD…
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…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

806 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