When I run my ant task I get the following error
/build.xml:61: Problem: failed to create task or type javac Cause: the class org.apache.tools.ant.taskdefs.Javac was not found. Action: Check that the component has been correctly declared and that the implementing JAR is in one of: -/idea-IC-107.587/lib/ant/lib -/home/.ant/lib -a directory added on the command line with the -lib argument
But I have the ant.jar(which contains the Javac class) in the above mentioned path. Can anyone tell me what is the cause for this issue.