猿问

ant 1.8 不兼容1.7吗?

BUILD FAILED
D:\jboss-seam-2.2.0.GA\build.xml:9: You are using Apache Ant version 1.8.1 compi
led on April 30 2010. You must use Ant 1.7.0 to build Seam. Ant 1.7.1 has known
bugs.

慕桂英4014372
浏览 687回答 1
1回答

互换的青春

要在这里修改: <javac destdir="${product.classes}" nowarn="on" debug="${java.debug}"><classpath><fileset dir="../lib"><patternset refid="compile.libs"/></fileset></classpath><src path="src"/> </javac> 改为: <javac source="1.7" destdir="${product.classes}" nowarn="on" debug="${java.debug}"><classpath><fileset dir="../lib"><patternset refid="compile.libs"/></fileset></classpath><src path="src"/> </javac>
随时随地看视频慕课网APP

相关分类

Java
我要回答