The provider class, class com.xxx.providers.JAXBEntityContextResolver, could not be instantiated. Processing will continue but the class will not be utilized
java.lang.RuntimeException: [failed to localize] error.jaxb.ri.2.1.10.missing()
I checked my jars
jaxb-impl-2.1.10.jar
jaxb-api-2.1.jar
Then I checked JSONConfiguration class
public static Builder natural() {
// this is to make sure people trying to use NATURAL notation will get clear message what is missing, when an old JAXB RI version is used
try {
Class.forName("com.sun.xml.bind.annotation.OverrideAnnotationOf");
} catch (ClassNotFoundException ex) {
Logger.getLogger(JSONConfiguration.class.getName()).log(Level.SEVERE, ImplMessages.ERROR_JAXB_RI_2_1_10_MISSING());
throw new RuntimeException(ImplMessages.ERROR_JAXB_RI_2_1_10_MISSING());
}
return new Builder(Notation.NATURAL);
}
1) 1)stop the AS instance
2) put [1] into your $AS_HOME/lib/endorsed
3) restart the AS instance
4) let me know if it fixes your issue
[1]http://download.java.net/maven/1/com.sun.xml.bind/jars/jaxb-impl-2.1.12.jar