首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 其他教程 > 互联网 >

hadoop0 release0.20.0编译失误

2013-10-16 
hadoop0release0.20.0编译出错ant jar 成功ant package (eclipse-files)失败:build.xml:908: java5.home

hadoop0 release0.20.0编译出错

ant jar 成功

ant package (eclipse-files)失败:build.xml:908: 'java5.home' is not defined. Forrest requires Java 5

解决方案之一是:注释掉904与908行

<target name="forrest.check" unless="forrest.home" depends="java5.check"><!--<fail message="'forrest.home' is not defined. Please pass -Dforrest.home=<base of Apache Forrest installation> to Ant on the command-line." />--></target><target name="java5.check" unless="java5.home"><!--<fail message="'java5.home' is not defined. Forrest requires Java 5. Please pass -Djava5.home=<base of Java 5 distribution> to Ant on the command-line." />--></target>


热点排行