webservice中经常有这样的问题 JAXB 2.0 API is being loaded from the bootstrap classloader.
来源:互联网
使用webservice框架时报异常问题: Exception in thread "main" org.osoa.sca.ServiceRuntimeException: java.lang.LinkageError: JAXB 2.0 API is being loaded from the bootstrap classloader, but this RI (from jar:file:/D:/Project/Sca_Tuscany_Demo/WebRoot/WEB-INF/lib/jaxb-impl-2.1.7.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. Exception in thread "ma