Hello,
I have xindice running well on my machine (windows 2000), and can perform
all the command line functions without a problem. I am trying to embed
xindice functionality in a jsp page, but get the following error:
java.lang.NoSuchMethodError
at org.apache.xindice.xml.dom.DOMParser.getSAXParser(DOMParser.java:233)
at org.apache.xindice.xml.dom.DOMParser.(DOMParser.java:93)
at org.apache.xindice.xml.dom.DOMParser.toDocument(DOMParser.java:197)
at
org.apache.xindice.xml.SymbolTableSymbols.(SymbolTableSymbols.java:84)
at
org.apache.xindice.xml.SymbolTableSymbols.getInstance(SymbolTableSymbols.jav
a:96)
at
org.apache.xindice.client.corba.SymbolDeserializer.(SymbolDeserializer.java:
76)
at
org.apache.xindice.client.xmldb.CollectionImpl.(CollectionImpl.java:105)
etc. etc. etc.
I am using Tomcat 3.2.3, and have copied the (xindice_home)\java\lib
directory to the appropriate WEB-INF\lib directory. I have also removed any
ext directories from any java\lib directories that exist on my machine, in
case xindice was picking up a different parser from there.
The jsp page I created basically copies the first example from the xindice
Developer's Guide - the only difference is the xml file I am accessing, and
that fact that it's a jsp page instead of a java class.
BTW - the query I perform in the jsp page works fine from the command line.
Thanks much in advance
John Fletcher