While using Apache Ant with Apache Tomcat with if this error appears
ant taskdef class org.apache.catalina.ant.installtask cannot be found
Solution:
If you are using tomcat version 7 then add this to your build.xml file.
ant taskdef class org.apache.catalina.ant.installtask cannot be found
Solution:
If you are using tomcat version 7 then add this to your build.xml file.
<taskdef name="install" classname="org.apache.catalina.ant.DeployTask">
instead of
<taskdef name="install" classname="org.apache.catalina.ant.InstallTask">
No comments:
Post a Comment