Xindice database. Add document.

Posted on 2004-04-14
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!!
Question by:Raftor
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

Author Comment

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?
LVL 30

Expert Comment

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

Expert Comment

by:Mayank S
ID: 10853352
What is the reason for deletion? The question never responded back to the comment posted.
Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

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?

Author Comment

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.
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.

Author Comment

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

Accepted Solution

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

Community Support Moderator

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How do I remove an object from a 3 53
How to determine if a string is a valid SHA value 7 44
junit example issue 2 28
JDBC performance 8 29
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
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 tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

726 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