ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Kesch" <ke...@swt.ruhr-uni-bochum.de>
Subject How do i get JSPC running
Date Thu, 31 Jan 2002 12:32:02 GMT
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:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message