• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 227
  • Last Modified:

Xindice database. Add document.

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
Raftor
Asked:
Raftor
  • 4
  • 3
1 Solution
 
RaftorAuthor Commented:
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
 
Mayank SAssociate Director - Product EngineeringCommented:
The main () method is perhaps not present?
0
 
Mayank SAssociate Director - Product EngineeringCommented:
What is the reason for deletion? The question never responded back to the comment posted.
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
Mayank SAssociate Director - Product EngineeringCommented:
>> '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
 
RaftorAuthor Commented:
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
 
Mayank SAssociate Director - Product EngineeringCommented:
Ok, fine. BTW, you still need a main () method to run the code. Or it should be something like an Applet/ Servlet/ JSP.
0
 
RaftorAuthor Commented:
Im not actually running that code at all now, its all been done through the XMLdbGUI builder.
0
 
GhostModCommented:
PAQd, 100 points refunded.

GhostMod
Community Support Moderator
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now