Java未解析编译,编译错误:执行javac时失败,但无法解析错误

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

Do you have any idea of reason of this issue?

解决方案

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.

(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.)

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值