Class org.apache.tools.ant.taskdefs.ConditionTask doesn't support the nested

本文介绍了解决在构建Hadoop过程中遇到的Apache Ant不支持特定标签的问题。通过升级到Apache Ant 1.8.0版本并正确配置环境变量ANT_HOME及PATH,确保了构建过程顺利进行。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

我在build hadoop的时候 发现ant有不支持的标签

 

 

Class org.apache.tools.ant.taskdefs.ConditionTask doesn't support the nested "typefound" element.

 

在这里得到解决:

http://getsatisfaction.com/cloudera/topics/make_sure_srpms_can_be_rebuilt_on_rhel

 

  1. Download the Apache Ant 1.8.0 tarball
  2. Extract it
  3. Setup the environment variable ANT_HOME to point to the location you extracted the tarball
  4. Add $ANT_HOME/bin to the front of your $PATH

在.bash_profile里面设置

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值