我在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
- Download the Apache Ant 1.8.0 tarball
- Extract it
- Setup the environment variable ANT_HOME to point to the
location you extracted the tarball
- Add $ANT_HOME/bin to the front of your $PATH
在.bash_profile里面设置
本文介绍了解决在构建Hadoop过程中遇到的Apache Ant不支持特定标签的问题。通过升级到Apache Ant 1.8.0版本并正确配置环境变量ANT_HOME及PATH,确保了构建过程顺利进行。
5万+

被折叠的 条评论
为什么被折叠?



