Sign In/My Account | View Cart  
advertisement

Article:
 Using Embedded XML Databases to Process Large Documents
Subject: problem about driver
Date: 2005-01-27 17:54:15
From: PengfeiLi

nice article,and helpful to me,I think,and thank you.But I meet some problems when I try to run a simple program:
I used following statements to register a driver:
String driver="org.exist.xmldb.DatabaseImpl";
Class cl = Class.forName(driver);
Database database = (Database)cl.newInstance();
DatabaseManager.registerDatabase(database);
But it reports errors:
java.lang.NoClassDefFoundError
at org.exist.xmldb.DatabaseImpl.
why so?what mistake did I make?Could you give me a favour?Thank you very much!

Previous Message Previous Message   Next Message Next Message


Titles Only Full Threads Newest First
  • problem about driver
    2005-02-18 02:13:53 antonio25 [Reply]

    you have to add the following libraries:


    exist.jar
    xindice-1.1b4.jar
    xmldb.jar
    xmlrpc-1.2-b1.jar
    commons-pool-1.2.jar


    from apache.


    Regards Tony


Sponsored By: