Home > Cannot Be > Build Failed Taskdef Class Cannot Be Found

Build Failed Taskdef Class Cannot Be Found

Contents

This build script assumes that the source code of your web application is organized into the following subdirectories underneath the source code directory from which you execute the build script: docs Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. Can I get a dual entry Schengen visa for tourism purpose for me and my wife? This is normally set to the current working directory. --> http://cmptp.com/cannot-be/bt-cannot-be-found.html It's very confusing blundering around in a complex tool like Eclipse.

Defaults to "build". Taskdef Class Cannot Be Found Using The Classloader Antclassloader Magic, perhaps? current community chat Stack Overflow Meta Stack Overflow your communities Sign up or log in to customize your list.

Alternatively, if you use a taskdef in your buildfile all you need to do is add the catalina JAR to the Ant runtime classpath.

So you went and Google'd and came across the Tomcat Ant task documentation and yea verily it looked good. In tomcat 7, there 4 jars for this purpose while there was only single jar for this in earlier versions. If you want to use the one in C:\Program Files\apache-ant-1.8.2, select that directory from "Ant home..." button. Download Spring Framework This is a much better answer than the one above. –jordaniac89 Nov 7 '14 at 15:58 | show 2 more comments up vote 4 down vote Guess you might have to

For example: Catalina-Ant for Tomcat 6 was encapsulated within a single JAR file. and to solv ur problem u need to copy catalina-ant.jar inside anthome/lib folder Thanks, Sharad share|improve this answer answered Aug 11 '13 at 9:51 sharad-garg 12119 add a comment| up vote I put the catalina-ant.jar in $JAVA_HOME/jre/lib/ext and that caused the problem. weblink Why was Susan treated so unkindly?

Re: ant - build failed 843834 Dec 25, 2003 3:39 AM (in response to 843834) It sounds as if your ant.jar is not being found, make sure you have the ANT_HOME