java.lang.NoClassDefFoundError: org/apache/tools/ant/Project

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

,

delete antlr from maven repository and reinstall it.

,
Expert tip

A few things cause this exception:
1) Check if you have all jars and if they're in the correct path.
2) Your classpath might be broken, you can define it in the command line with java -cp yourClassPath or at your IDE if you're using one.

Solutions on the web

via Google Groups by chrisichris, 1 year ago
org/apache/tools/ant/Project
java.lang.ClassNotFoundException: org.apache.tools.ant.Project
at java.lang.ClassLoader.findClass(Unknown Source)
at yeti.lang.compiler.Loader.loadClass(CodeWriter.java:80)
at yeti.lang.compiler.eval._1(eval.yeti:96)
at yeti.lang.compiler.eval.execClass(eval.yeti:74)
at yeti.lang.compiler.eval$evaluateYetiCode$._0(eval.yeti:468)
at yeti.lang.compiler.eval$evaluateYetiCode$.apply(eval.yeti:444)
at yeti.lang.Fun2_.apply(Unknown Source)
at yeti.lang.compiler.yeti.repl(yeti.yeti:58)
at yeti.lang.compiler.yeti.main(yeti.yeti:206)

Users with the same issue

4 times, 4 months ago
Once, 1 year ago
3 times, 1 year ago
2 times, 1 year ago
Once, 1 year ago

Write tip

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