C
courtney.machi
Hi there,
I am trying to build my first application with the Spring framework,
Apache Tomcat and Ant. I am having trouble accessing the application.
When I try to build it with Ant I get this error:
/home/workspace/springapp/build.xml:78: taskdef class
org.apache.catalina.ant.InstallTask cannot be found
Here is my build.properties file:
appserver.home=home/apache-tomcat-5.5.20
appserver.name=tomcat
deploy.path=${appserver.home}/webapps
tomcat.manager.url=http://localhost:8080/manager
tomcat.manager.username=<username>
tomcat.manager.password=<password>
And build.xml (just where the problem is occuring, since the whole file
is rather lengthy):
<taskdef name="install"
classname="org.apache.catalina.ant.InstallTask">
<classpath>
<path
location="${appserver.home}/server/lib/catalina-ant.jar"/>
</classpath>
</taskdef>
<taskdef name="reload"
classname="org.apache.catalina.ant.ReloadTask">
<classpath>
<path
location="${appserver.home}/server/lib/catalina-ant.jar"/>
</classpath>
</taskdef>
<taskdef name="list" classname="org.apache.catalina.ant.ListTask">
<classpath>
<path
location="${appserver.home}/server/lib/catalina-ant.jar"/>
</classpath>
</taskdef>
<taskdef name="start"
classname="org.apache.catalina.ant.StartTask">
<classpath>
<path
location="${appserver.home}/server/lib/catalina-ant.jar"/>
</classpath>
</taskdef>
<taskdef name="stop" classname="org.apache.catalina.ant.StopTask">
<classpath>
<path
location="${appserver.home}/server/lib/catalina-ant.jar"/>
</classpath>
</taskdef>
Does anyone have a clue as to what I'm doing wrong??
Many thanks,
Courtney
I am trying to build my first application with the Spring framework,
Apache Tomcat and Ant. I am having trouble accessing the application.
When I try to build it with Ant I get this error:
/home/workspace/springapp/build.xml:78: taskdef class
org.apache.catalina.ant.InstallTask cannot be found
Here is my build.properties file:
appserver.home=home/apache-tomcat-5.5.20
appserver.name=tomcat
deploy.path=${appserver.home}/webapps
tomcat.manager.url=http://localhost:8080/manager
tomcat.manager.username=<username>
tomcat.manager.password=<password>
And build.xml (just where the problem is occuring, since the whole file
is rather lengthy):
<taskdef name="install"
classname="org.apache.catalina.ant.InstallTask">
<classpath>
<path
location="${appserver.home}/server/lib/catalina-ant.jar"/>
</classpath>
</taskdef>
<taskdef name="reload"
classname="org.apache.catalina.ant.ReloadTask">
<classpath>
<path
location="${appserver.home}/server/lib/catalina-ant.jar"/>
</classpath>
</taskdef>
<taskdef name="list" classname="org.apache.catalina.ant.ListTask">
<classpath>
<path
location="${appserver.home}/server/lib/catalina-ant.jar"/>
</classpath>
</taskdef>
<taskdef name="start"
classname="org.apache.catalina.ant.StartTask">
<classpath>
<path
location="${appserver.home}/server/lib/catalina-ant.jar"/>
</classpath>
</taskdef>
<taskdef name="stop" classname="org.apache.catalina.ant.StopTask">
<classpath>
<path
location="${appserver.home}/server/lib/catalina-ant.jar"/>
</classpath>
</taskdef>
Does anyone have a clue as to what I'm doing wrong??
Many thanks,
Courtney