Menu

TPTP Eclipse Problem

Help
2009-01-22
2012-08-15
  • Jan Muthreich

    Jan Muthreich - 2009-01-22

    Hello,

    i want to test my programm with the java profiler tptp from eclipse, but i get this error:

    Exception in thread "main" java.lang.NoClassDefFoundError: net/sourceforge/jtds/jdbcx/JtdsDataSource
    at Test.main(Test.java:27)
    Caused by: java.lang.ClassNotFoundException: net.sourceforge.jtds.jdbcx.JtdsDataSource
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)

    Can someone help me, please?

    I'm using Jtds 1.2.2 and this libary is in the classpath. I can start the programm without problems, only when i want to start the profiler, i get this error.

    best regards

     
    • Jan Muthreich

      Jan Muthreich - 2009-01-22

      Hello,

      I have solved the problem and I have added the jtds libary to the system libarys. TPTP loads the user libarys first, and then the system libarys. When I added the jtds libary to the user libarys, it worked.

      best regards

       

Log in to post a comment.