Posted on 2009-05-15 17:10
itVincent 閱讀(1285)
評論(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后啟動成功了