Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Xindice database. Add document.

Posted on 2004-04-14
9
Medium Priority
?
225 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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

In this post we will learn different types of Android Layout and some basics of an Android App.
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

604 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