工作日志--Hudson 部署

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成功了。

猜你喜欢

转载自kolearn.iteye.com/blog/993070