在使用webservice,esb等需要jaxb的项目里经常会出现 JAXB 2.0 API is being loaded from the bootstrap classloader错误.执行System.out.println(System.getProperty("java.endorsed.dirs"));输出jaxb-api-2.1.jar应该放的目录。下载附件放到目录下即可。
2023-03-05 17:27:38 75KB jaxb-api-2.1 webservice endorsed jaxb
1