I am running an
ant build in my linux pc. I installed ant(a pache Ant version 1.7.1 ). it is giving below error. but the same code is running fine in window pc. what can be the error. how to resolve it?
stacktrace:
Problem: failed to create task or type jjtree
Cause: the class org.apache.tools.ant.taskdefs.optional.javacc.JJTree was not found.
This looks like one of Ant's optional components.
Action: Check that the appropriate optional JAR exists in
-/usr/share/ant/lib
-/root/.ant/lib
-a directory added on the command line with the -lib argument
Do not panic, this is a common problem.
The commonest cause is a missing JAR.
This is not a bug; it is a configuration problem