afunms

My Software,My Dream—Forge a more perfect NMS product.

pluto安装

从apache网上下载pluto-2.0.3-bundle.zip
解压后,修改bin\startup.bat,配置上jdk
set JAVA_HOME=../../jdk1.6.0_03

然后启动pluto,发现有错。查看日志
Caused by: java.lang.LinkageError: JAXB 2.0 API is being loaded from the bootstrap classloader, but this RI (from jar:file:/E:/nms4/pluto/webapps/pluto/WEB-INF/lib/jaxb-impl-2.1.9.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class) needs 2.1 API. Use the endorsed directory mechanism to place jaxb-api.jar in the bootstrap classloader. (See http://java.sun.com/j2se/1.5.0/docs/guide/standards/)
 at com.sun.xml.bind.v2.model.impl.ModelBuilder.<clinit>(ModelBuilder.java:173)
 at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:432)
 at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:297)
 at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:139)
 at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:117)
 at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:188)

估计是jaxb造成的,于是将webapps\pluto\WEB-INF\lib下的jaxb-impl-2.1.9.jar删除。
再启动pluto,成功!

posted on 2011-09-28 10:06 afunms 阅读(472) 评论(0)  编辑  收藏


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


网站导航:
 

My Links

News

留言簿(18)

随笔档案

相册

搜索

最新评论

阅读排行榜