Posted on 2009-05-15 17:10
itVincent 阅读(1278)
评论(0) 编辑 收藏 所属分类:
esb
今天测试运行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后启动成功了