You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by sheep <sh...@xmindex.com.cn> on 2005/06/02 09:22:17 UTC
maven+cactus (Couldn't find tools.jar (needed for JSP compilation))
hi all
have someone meet this problem (Couldn't find tools.jar (needed for JSP compilation)) when use maven+cactus when execute maven cactus:test
//-------------------------------------------------------------------------------------------------------------------
cactus:test-war:
[cactus] -----------------------------------------------------------------
[cactus] Running tests against Tomcat 5.5.7
[cactus] -----------------------------------------------------------------
[cactus] Deleting 4 files from C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\cactus\tomcat5x
[cactus] Deleted 2 directories from C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\cactus\tomcat5x
[cactus] Couldn't find tools.jar (needed for JSP compilation)
Exception in thread "Thread-0" You must either set location or path on <pathelement>
at org.apache.tools.ant.types.Path.list(Path.java:309)
at org.apache.tools.ant.types.Path.list(Path.java:320)
at org.apache.tools.ant.types.Path.addExisting(Path.java:260)
at org.apache.tools.ant.types.Path.concatSystemClasspath(Path.java:551)
at org.apache.tools.ant.types.CommandlineJava.size(CommandlineJava.java:346)
at org.apache.tools.ant.types.CommandlineJava.getCommandline(CommandlineJava.java:248)
at org.apache.tools.ant.types.CommandlineJava.describeCommand(CommandlineJava.java:311)
at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:138)
at org.apache.tools.ant.taskdefs.Java.execute(Java.java:108)
at org.apache.cactus.integration.ant.container.tomcat.AbstractCatalinaContainer.invokeBootstrap(AbstractCatalinaContainer.java:166)
at org.apache.cactus.integration.ant.container.tomcat.Tomcat5xContainer.startUp(Tomcat5xContainer.java:59)
at org.apache.cactus.integration.ant.container.ContainerRunner$1.run(ContainerRunner.java:140)
at java.lang.Thread.run(Unknown Source)