Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Java (http://www.go4expert.com/forums/java/)
-   -   java.lang.NoClassDefFoundError (http://www.go4expert.com/forums/javalangnoclassdeffounderror-t24383/)

mboyda 4Jan2011 22:13

java.lang.NoClassDefFoundError
 
When executing a jar file that I inherited I get the following error: "Exception in thread "main" java.lang.NoClassDefFoundError: oracle/jdbc/driver/OracleDriver".

I have the jdbc driver (ojdbc6.jar) in the bin directory and I'm able to recompile the source code into the jar.

I'm new to Java and don't have a lot of experience setting up my system to execute this code.

dumbeldore 21Jan2011 15:44

Re: java.lang.NoClassDefFoundError
 
plz post the stack trace...


All times are GMT +5.5. The time now is 16:40.