问题描述
我在启动像 mvn clean compile
这样的Hudson工作时出现以下错误。
I'm having the follow error when I launch a Hudson job like mvn clean compile
.
[INFO] Compiling 1541 source files to /users/applis/33g/ad33gwas/.hudson/jobs/sonar facade-commande/workspace/facade-commande/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] Failure executing javac, but could not parse the error:
An exception has occurred in the compiler (1.5.0_12). Please file a bug at the Java Developer Connection (http://java.sun.com/webapps/bugreport) after checking the Bug Parade for duplicates. Include your program and the following diagnostic in your report. Thank you.
java.lang.AssertionError
你对这个问题有什么想法吗? / p>
Do you have any idea of reason of this issue?
推荐答案
您遇到了编译器错误。它不清楚它可能是哪个错误,但有一个很好的机会,它将通过升级到更高版本的JDK修复。
You've encountered a compiler bug. It is not clear which bug it might be, but there is a good chance that it would be fixed by upgrading to a later version of the JDK.
(你显然运行java 1.5.0_u12,这是很古老的。Java 1.5的最后一个免费补丁发行版是java 1.5.0_u22。更新的1.5版本(1.5.0._u34)适用于订阅,或者,您可以升级到Java 1.6或1.7。)
(You are apparently running java 1.5.0_u12, and that is pretty ancient. The last freely available patch release for Java 1.5 is java 1.5.0_u22. The are more recent 1.5 releases (to 1.5.0._u34) available for people with a Java for Business subscription. Alternatively, you could upgrade to Java 1.6 or 1.7.)
这篇关于编译错误:执行javac时失败,但无法解析错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!