求助:我在用ANT来构建web应用时出现错误了,
这个web程序是孙卫琴的精通struts中的helloapp例子
在用用ANT来构建这个web应用时,
出现了错误:
Buildfile: E:\workspacejgroup\helloapp\build.xml
prepare:
[echo] Tomcat Home = ${tomcat.home}
[echo] webapps Home = ${webapps.home}
prepare:
[echo] Tomcat Home = ${tomcat.home}
[echo] webapps Home = ${webapps.home}
compile:
[javac] Compiling 4 source files to E:\workspacejgroup\helloapp\classes
BUILD FAILED
java.lang.UnsupportedClassVersionError: com/sun/tools/javac/Main (Unsupported major.minor version 49.0)
这是什么错误?
谢谢!
------解决方案--------------------不清楚,帮顶
------解决方案--------------------jdk版本不支持!