|
I'm getting an error when I try to add a document
(no problems occured when I added the test collection).
I turned echo on so you can see classpath and that
jdk1.4 is being used. I built from src with no problems
Thanks for any help,
Creighton
c:\xindice\bin>xindice add_document
-c xmldb:xindice://127.0.0.1:8080/db /test -f c:\Example2.xml
c:\xindice\bin>java -Xms16m -Xmx128m -Dxindice.home=c:\xindice
- Dxindice.db.home=c:\xindice
-Dorg.apache.commons.logging.Log=org.apache. commons.logging.impl.SimpleLog
-Dorg.apache.commons.logging.simplelog.defaultlog =debug
-Dcmd.home=c:\xindice\bin -classpath
c:\j2sdk1.4.1_01\lib\tools.j ar;c:\xindice\java\lib\xmlrpc-1.1.jar;c:\xindice\java\lib\xmldb- xupdate.jar;c:\xindice\java\lib\xmldb-common.jar;c:\xindice\java \lib\xmldb-api-sdk-20021118.jar;c:\xindice\java\lib\xmldb-api-20021118.j ar;c:\xindice\java\lib\xml-apis.jar;c:\xindice\java\lib\xerces-2 .6.0.jar;c:\xindice\java\lib\xalan-2.5.2.jar;c:\xindice\java\lib \servlet-2.3.jar;c:\xindice\java\lib\commons-logging-1.0.3.jar;c:\usr\bi n\xindice\dist\xindice-1.1b3.jar;.;c:\xindice\java\lib\xerces-2.6.0.jar; ;c:\xindice\dist\xindice-1.1b3.jar;c:\ant\config
org.apache.xind ice.tools.XMLTools add_document -c
xmldb:xindice://127.0.0.1:8080/db/test -f c: \Example2.xml [DEBUG]
DatabaseImpl - -Using SAX Driver: 'xerces' [DEBUG] DatabaseImpl - -Using
Service Location: '/xindice/' [DEBUG] CollectionImpl - -Using URL:
'http://127.0.0.1:8080/xindice/' Exception in thread "main"
java.lang.NoSuchMethodError at
org.apache.xindice.tools.command.StringSerializer.startElement(String Serializer.java:244) at
org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown
Sour ce) at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unkn own
Source) at
org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.s canRootElementHook(Unknown
Source) at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent Dispatcher.dispatch(Unknown
Source) at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un known
Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at
org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at
org.apache.xindice.tools.command.AddDocument.execute(AddDocument.java :131) at
org.apache.xindice.tools.XMLTools.execute(XMLTools.java:336) at
org.apache.xindice.tools.XMLTools.process(XMLTools.java:213) at
org.apache.xindice.tools.XMLTools.main(XMLTools.java:124)
|