-
NoClassDefFoundError
On exact same issue as poster, where I have added the jar file to the project through Netbeans only and getting the same error.
From adding the jar file to the library, is the following code necessary in anyway?
" System.out.println("Usage: java -classpath driver_class_path"
+File.pathSeparator
+". TestDB database.properties");"
and if so, how would it be implemented when the jar files and TestDB.class files are stored in different folders within the local directory.
(Not Hi-Jacking the thread, as I know me and the OP share same issue exactly.)
-
Moved from this post: http://www.java-forums.org/database/...ounderror.html
And yes, it's a hijack because even though you have the same error, you are in different environments (the OP in the other post makes no mention of NetBeans for instance) and likely have different causes.