1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

java.lang.NoClassDefFoundError

Discussion in 'Java' started by mboyda, Jan 4, 2011.

  1. mboyda

    mboyda New Member

    Joined:
    Jan 4, 2011
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    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.
     
  2. dumbeldore

    dumbeldore New Member

    Joined:
    Jan 21, 2011
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    plz post the stack trace...
     

Share This Page