You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Peter Kesch <ke...@swt.ruhr-uni-bochum.de> on 2002/01/31 13:32:02 UTC
How do i get JSPC running
now i tried to compile jsps by ant with ant 1.5-alpha and 1.4.1 by compiling
it and defining it with the taskdef task ..
in both cases i get the same error message and i don't wknow which jar-file
or what ever is missing
here is the output of ant
[JspC] Compiling 95 source files to
C:\W3L\www\w3l\WEB-INF\src\build\jsps
BUILD FAILED
java.lang.NoClassDefFoundError: org/apache/tomcat/logging/Logger
at java.lang.Class.getMethod0(Native Method)
at java.lang.Class.getMethod(Class.java:888)
at
org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:12
3)
at org.apache.tools.ant.taskdefs.Java.run(Java.java:305)
at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:127)
at org.apache.tools.ant.taskdefs.Java.execute(Java.java:88)
at
org.apache.tools.ant.taskdefs.optional.jsp.compilers.JasperC.execute(
JasperC.java:91)
at
org.apache.tools.ant.taskdefs.optional.jsp.JspC.execute(JspC.java:346
)
at org.apache.tools.ant.Task.perform(Task.java:217)
at org.apache.tools.ant.Target.execute(Target.java:184)
at org.apache.tools.ant.Target.performTasks(Target.java:202)
at org.apache.tools.ant.Project.executeTarget(Project.java:601)
at org.apache.tools.ant.Project.executeTargets(Project.java:560)
at org.apache.tools.ant.Main.runBuild(Main.java:454)
at org.apache.tools.ant.Main.start(Main.java:153)
at org.apache.tools.ant.Main.main(Main.java:176)
and the target is like that ..
<target name="test" depends="init">
<JspC srcdir="${basedir}\www\w3l\jsp"
destdir="${basedir}\www\w3l\WEB-INF\src\build\jsps" verbose="9">
<include name="**\*.jsp" />
<classpath>
<pathelement location="${basedir}\classes\jasper.jar" />
<pathelement location="${basedir}\classes\jasper-runtime.jar" />
</classpath>
</JspC>
</target>
is there anyone who solved this already or has jsps running ????
regards
Peter
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: How do i get JSPC running
Posted by Steve Loughran <st...@iseran.com>.
----- Original Message -----
From: "Peter Kesch" <ke...@swt.ruhr-uni-bochum.de>
To: <an...@jakarta.apache.org>
Sent: Thursday, January 31, 2002 4:32 AM
Subject: How do i get JSPC running
> now i tried to compile jsps by ant with ant 1.5-alpha and 1.4.1 by
compiling
> it and defining it with the taskdef task ..
> in both cases i get the same error message and i don't wknow which
jar-file
> or what ever is missing
have you followed the instructions in the manual page about extra jar files
to get from jakarta-tomcat?
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>