itVincent Blog - Java Working Fun!

技术引领时代!
posts - 117, comments - 181, trackbacks - 0, articles - 12
今天测试运行servicemix 3.3,出现了以下错误

Caused by: java.lang.LinkageError: JAXB 2.0 API is being loaded from the bootstrap classloader, but this RI (from jar:file:
/D:/apache-servicemix-3.3/data/smx/components/servicemix-cxf-se/version_1/lib/jaxb-impl-2.1.6.jar!/com/sun/xml/bind/v2/mode
l/impl/ModelBuilder.class) needs 2.1 API. Use the endorsed directory mechanism to place jaxb-api.jar in the bootstrap class
loader. (See http://java.sun.com/j2se/1.5.0/docs/guide/standards/)

查找到相关资料显示,servicemix 中的cxf与jdk1.6版本上有冲突,要使用jdk1.6 update 10以后版本才能正常使用,之后下载了update13后启动成功了

只有注册用户登录后才能发表评论。


网站导航: