Solved

Xindice database. Add document.

Posted on 2004-04-14
9
178 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:mayankeagle
ID: 10830244
The main () method is perhaps not present?
0
 
LVL 30

Expert Comment

by:mayankeagle
ID: 10853352
What is the reason for deletion? The question never responded back to the comment posted.
0
 
LVL 30

Expert Comment

by:mayankeagle
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
Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

 

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:mayankeagle
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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 Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

746 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now