`
08284008
  • 浏览: 49132 次
  • 性别: Icon_minigender_1
  • 来自: 武汉
社区版块
存档分类
最新评论

maven本地构建时报错

阅读更多

g.LinkageError: JAXB 2.1 API is being loaded from the bootstrap classloader, but this RI (from jar:file:/D:/CIE/apache-maven-3.0.4/repo/com/sun/xml/bind/jaxb-impl/2.2.4/jaxb-impl-2.2.4.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class) needs 2.2 API. Use the endorsed directory mechanism to place jaxb-api.jar in the bootstrap classloader. (See http://java.sun.com/j2se/1.6.0/docs/guide/standards/)
这个是jdk的版本过低的问题,我的jdk为1.6_02在本地构建的时候,一直报这个错,换为jdk1.6_25之后就好了,jaxb

需要高版本的jdk支持,低版本不支持。

0
3
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics