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

 
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 <bh5k@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxxx
> For additional commands, e-mail:
> cactus-user-help@xxxxxxxxxxxxxxxxxx
>
>

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值