maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "sheep" <sh...@xmindex.com.cn>
Subject maven+cactus (Couldn't find tools.jar (needed for JSP compilation))
Date Thu, 02 Jun 2005 07:22:17 GMT
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)
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message