You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Martin Dubuc <ma...@gmail.com> on 2006/11/27 16:57:40 UTC
Tomcat 6.0.2 Deployer
I would like to deploy a web app inside Tomcat 6.0 with the deployer
app, but I can't build it. I untared the Tomcat 6.0.2 deployer archive
and tried to run ant to build the deployer app. I got the following
error:
Buildfile: build.xml
clean:
[delete] Deleting directory /tmp/apache-tomcat-6.0.2-deployer/build
compile:
BUILD FAILED
/tmp/apache-tomcat-6.0.2-deployer/build.xml:39:
/tmp/apache-tomcat-6.0.2-deployer/myapp not found.
Total time: 1 second
If I create myapp in the deployer directory and run ant again, I get
the following error:
Buildfile: build.xml
clean:
compile:
[copy] Copied 1 empty directory to 1 empty directory under
/tmp/apache-tomcat-6.0.2-deployer/build/webapp/myapp
BUILD FAILED
/tmp/apache-tomcat-6.0.2-deployer/build.xml:47:
java.lang.NoClassDefFoundError:
org.apache.jasper.compiler.JspRuntimeContext
Total time: 2 seconds
Version of ant installed on my system is 1.6.5.
Martin
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Tomcat 6.0.2 Deployer
Posted by Rémy Maucherat <re...@gmail.com>.
On 11/27/06, Martin Dubuc <ma...@gmail.com> wrote:
> Total time: 1 second
>
> If I create myapp in the deployer directory and run ant again, I get
> the following error:
"myapp" is by default the name of the webapp that is supposed to be
preocompiled and (maybe) deployed. You should read the documentation
and browse the build script.
> BUILD FAILED
> /tmp/apache-tomcat-6.0.2-deployer/build.xml:47:
> java.lang.NoClassDefFoundError:
> org.apache.jasper.compiler.JspRuntimeContext
>
> Total time: 2 seconds
This works for me.
Rémy
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org