ant运行陈喀斯特yle出错:antlib.xml:37

Buildfile: C:\a556429\ccsnapshot_views\a556429_cmn_fundmsg_01.01.00\cmn01\cmn_fundmsg\src\cmn_sync\build.xml

BUILD FAILED
C:\a556429\ccsnapshot_views\a556429_cmn_fundmsg_01.01.00\cmn01\cmn_fundmsg\src\cmn_sync\build.xml:3: The following error occurred while executing this line:
jar:file:/C:/Documents%20and%20Settings/a556429/.ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml:37: Problem: failed to create task or type componentdef
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.


Total time: 163 milliseconds

 

经排查,是在ant_home中多了一个ant.jar,因为已经有了ant-contrib-1.0b3.jar,里面有一个antlib.xml。而ant.jar也有antlib.xml.会有问题

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值