java.lang.NoClassDefFoundError: org/apache/tools/ant/launch/AntMain

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

Solutions on the web

via compiere by hrdik
, 1 year ago
org/apache/tools/ant/launch/AntMain
via Oracle Community by bahrinka, 5 months ago
via Oracle Community by 807549, 1 year ago
Main (wrong name: org /apache/tools/ant/Main)
via wpthm.com by Unknown author, 2 years ago
Main (wrong name: org /apache/tools/ant/Main)
via Oracle Community by 666705, 1 year ago
org/apache/log4j/AppenderSkeleton
via Oracle Community by 843833, 1 year ago
org/apache/xerces/dom /DocumentImpl
java.lang.NoClassDefFoundError: org/apache/tools/ant/launch/AntMain
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)

Users with the same issue

Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.