Wei Ding wrote:

I can run JSP example in xindice-1.1b4\java\examples\addressbook. But I can not run the Example1.java in xindice-1.1b4\java\examples\guide.



My configuration:

Windows XP Pro

J2SDK 1.4.2_04

Xindice 1.1b4

Tomcat 5.0.18



I can compile Example1.java. But when I run it, the errors come out:



      trying to register database

      Exception in thread "main" java.lang.AbstractMethodError:

<>org.apache.xindice.cli
      ent.xmldb.DatabaseImpl.getNames()[Ljava/lang/String;


Seems like mismatch between xmldb API version and driver implementation class. Check your classpath, see that there is no outdated xmldb API anywhere in the classpath.

Vadim



Reply via email to