Language, Dialect, -2b.Q:
java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
I am trying to integrate Eclipse and Java and I get this error in Eclipse:
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/http/entity/ContentType
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2404)
at java.lang.Class.getDeclaredConstructors(Class.java:1853)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.determineOS(RemoteTestRunner.java:503)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:942)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:752)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:502)
Caused by: java.lang.ClassNotFoundException: org.apache.http.entity.ContentType
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
Related links:
Comentarios