java.lang.LinkageError: JAXB 2.0 API is being loaded from the bootstrap classloader...
使用SCA框架时报异常问题
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. (See http://java.sun.com/j2se/1.5.0/docs/guide/standards/)
需要下载:jaxb-api-2.1.jar 文件放入一下路径即可,如果没有“endorsed”目录则自行创建。
存Java 项目: ..\Java\jdk1.6.0\jre\lib\endorsed
Web项目路径: ..\tomcat-6.0.14\common\endorsed