Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,
    via askubuntu.com by Unknown author

    Set the path for java. Try to look it from here.

  2. ,
    Expert tip

    You might've forgot to add a dependency or it's written wrong. Also, you might be using incompatible versions of Java and Hibernate. More on this here: https://goo.gl/SjSlRA

java.lang.ClassNotFoundException: org.apache.tools.ant.Task	at java.net.URLClassLoader$1.run(URLClassLoader.java:217)	at java.security.AccessController.doPrivileged(Native Method)	at java.net.URLClassLoader.findClass(URLClassLoader.java:205)	at java.lang.ClassLoader.loadClass(ClassLoader.java:321)	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)	at java.lang.ClassLoader.loadClass(ClassLoader.java:266)	at java.lang.ClassLoader.defineClass1(Native Method)	at java.lang.ClassLoader.defineClass(ClassLoader.java:634)	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)	at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)	at java.net.URLClassLoader.access$000(URLClassLoader.java:73)	at java.net.URLClassLoader$1.run(URLClassLoader.java:212)	at java.security.AccessController.doPrivileged(Native Method)	at java.net.URLClassLoader.findClass(URLClassLoader.java:205)	at java.lang.ClassLoader.loadClass(ClassLoader.java:321)	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)	at java.lang.ClassLoader.loadClass(ClassLoader.java:266)