From: José A. <tem...@gm...> - 2011-12-02 00:30:15
|
Where do i have to create my java class? i can't make these imports to get right: import org.xmldb.api.base.*; import org.xmldb.api.modules.*; import org.xmldb.api.*; I downloaded the package xmldb and the code compiles but when i run it says: Exception in thread "main" java.lang.ClassNotFoundException: org.exist.xmldb.DatabaseImpl at java.net.URLClassLoader$1.run(URLClassLoader.java:217) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:205) at java.lang.ClassLoader.loadClass(ClassLoader.java:321) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294) at java.lang.ClassLoader.loadClass(ClassLoader.java:266) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:186) at Cliente.main(Cliente.java:19) i'm using the code of the second example in here: http://exist-db.org/devguide_xmldb.html -- José Angel Labbad Estudiante de Ingeniería de la Computación Universidad Simón Bolívar. |