I am getting an error Could not load definitions from resource net/sf/antcontrib/antcontrib.properties. It could not be found.
when I am trying to ant build on eclipse. So I downloaded ant-contrib-0.6.jar and kept it in my /lib
location of apache ant, but it still does not resolve my issue. I have also tried by specifying the /lib
location in my CLASSPATH
system variable. How can I get around this error?
Eclipse – Getting an error “Could not load definitions from resource net/sf/antcontrib/antcontrib.properties. It could not be found.”
antant-contribeclipse
Best Answer
You can provide full path to the ant-contrib JAR explicitly using "classpath" element: