当我有功能时
<feature>jpa-2.1</feature>
在我的server.xml中启用(WLP 8.5.5.7)我收到JAXB上下文初始化错误
java.lang.RuntimeException: Errors getting JAXB context for class
Caused by: javax.xml.bind.JAXBException: Unable to create context
- with linked exception:
[java.lang.reflect.InvocationTargetException]
[err] at javax.xml.bind.ContextFinder.find(ContextFinder.java:116)
[err] at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:65)
[err] at com.lca.phoenix.common.util.JsonProcessor.getJaxbContext(JsonProcessor.java:110)
当我删除该功能时,我没有收到JAXB错误。我很好奇这两个看似不同的东西之间的联系是什么
我在Win 8.1上使用Java 1.8.131
谢谢!