Hudson 部署项目时出现:
-------------------------------
1 . fail: hudson Java heap space
-------------------------
Hudson -->Build -->JVM Options -->-Xms512m -Xmx1024m
解决上面的error
-------------------------------
2. fail:
-----------------------
Failure executing javac, but could not parse the error:
An exception has occurred in the compiler (1.5.0_22). 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.
com.sun.tools.javac.code.Symbol$CompletionFailure: file javax\xml\bind\annotation\XmlAccessorType.class not found
--------------------------
经过百般尝试无法解释上述问题,但解决了上述问题:
1)使用maven重新生成项目骨架
2)将项目源码copy --> maven新生成的项目骨架中去
3)clean install成功了。
本文介绍了在使用Hudson进行项目部署时遇到的两个常见错误:Java堆内存溢出及Java编译失败,并提供了详细的解决方案,包括调整JVM选项和利用Maven重构项目。
1518

被折叠的 条评论
为什么被折叠?



