You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-user@jakarta.apache.org by bryan hansen <bh...@yahoo.com> on 2005/02/03 01:27:46 UTC

Cactus Eclipse Maven Couldn't find tools.jar

I am running maven using the mevenide plugin for
Eclipse.  I am getting this error and am not finding
much that is relevant when I google for it:

cactus:test-war:
    [cactus]
-----------------------------------------------------------------
    [cactus] Running tests against JBoss 3.2.4
    [cactus]
-----------------------------------------------------------------
    [cactus] Deleting 228 files from
C:\jboss-3.2.4\server\cactus
    [cactus] Deleted 79 directories from
C:\jboss-3.2.4\server\cactus
    [cactus] Copying 227 files to
C:\jboss-3.2.4\server\cactus
    [cactus] Copied 2 empty directories to
C:\jboss-3.2.4\server\cactus
    [cactus] Couldn't find tools.jar (needed for JSP
compilation)
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.jboss.JBoss3xContainer.startUp(JBoss3xContainer.java:290)
	at
org.apache.cactus.integration.ant.container.ContainerRunner$1.run(ContainerRunner.java:140)
	at java.lang.Thread.run(Unknown Source)

This sample runs fine from the command line? 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

FIXED Re: Cactus Eclipse Maven Couldn't find tools.jar

Posted by bryan hansen <bh...@yahoo.com>.
Within eclipse I had to configure the Java>Installed
JREs> so that it was pointing to the SDK and not the
JRE. This is NOT how Eclipse is installed by default.


--- bryan hansen <bh...@yahoo.com> wrote:

> I am running maven using the mevenide plugin for
> Eclipse.  I am getting this error and am not finding
> much that is relevant when I google for it:
> 
> cactus:test-war:
>     [cactus]
>
-----------------------------------------------------------------
>     [cactus] Running tests against JBoss 3.2.4
>     [cactus]
>
-----------------------------------------------------------------
>     [cactus] Deleting 228 files from
> C:\jboss-3.2.4\server\cactus
>     [cactus] Deleted 79 directories from
> C:\jboss-3.2.4\server\cactus
>     [cactus] Copying 227 files to
> C:\jboss-3.2.4\server\cactus
>     [cactus] Copied 2 empty directories to
> C:\jboss-3.2.4\server\cactus
>     [cactus] Couldn't find tools.jar (needed for JSP
> compilation)
> 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.jboss.JBoss3xContainer.startUp(JBoss3xContainer.java:290)
> 	at
>
org.apache.cactus.integration.ant.container.ContainerRunner$1.run(ContainerRunner.java:140)
> 	at java.lang.Thread.run(Unknown Source)
> 
> This sample runs fine from the command line? 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> http://mail.yahoo.com 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> cactus-user-help@jakarta.apache.org
> 
> 



		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - Helps protect you from nasty viruses. 
http://promotions.yahoo.com/new_mail