readthefuckingmanual.net

[SOLVED] taskdef class org.apache.catalina.ant.DeployTask cannot be found

Error added: 2007-07-27T08:52:17Z

2 people waiting for the answer...

2 answers found.

Answer 351 (50.0% helpful)

        <path id=\"tomcat.classpath\">
                <pathelement location=\"${catalina-ant.jar}\"/>
        </path>

        <taskdef name=\"tomcatdeploy\" classname=\"org.apache.catalina.ant.DeployTask\">
                <classpath refid=\"tomcat.classpath\" />
        </taskdef>
Permalink

Answer 350 (33.333332% helpful)

I believe what you\'re missing is the catalina-ant.jar file from your CLASSPATH. It should be located at $CATALINA_HOME/server/lib/catalina-ant.jar
Permalink

Add an answer/solution

If you know the answer, please add your own solution below.
If you don't know, but find out later, please come back and share your answer - there will be other people struggling with this too.


Please enter 61948 here

If you want to be notified via email when this is solved, enter your email address here: