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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
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