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;

              at

org.xmldb.api.DatabaseManager.registerDatabase(Unknown      Source)

              at

org.apache.xindice.examples.AbstractExample.ensureInitialized(Abstrac

      tExample.java:45)

              at

org.apache.xindice.examples.AbstractExample.getCollection(AbstractExa

      mple.java:53)

              at

org.apache.xindice.examples.Example1.main(Example1.java:37)

      Press any key to continue . . .

 

 

I think the problem about from DatabaseManager.registerDatabase.

Help me, please. Thanks a lot.

 

Reply via email to