Exception [EclipseLink-50033] (Eclipse Persistence Services - 2.5.0.v20130507-3faac2b): org.eclipse.persistence.exceptions.JAXBException Exception Description: The DomHandlerConverter for DomHandler [com.**.LayoutHandler] set on property [layoutXml] could not be initialized. Internal Exception: java.lang.ClassNotFoundException: com.**.LayoutHandler from BaseClassLoader@5c0b3ad0{vfs:///*/*/jboss-server/server/all/deployers/resteasy.deployer} While EclipseLink Moxy is instantiating JAXBContext using JAXBContext.newInstance(classes, properties)
public static javax.xml.bind.JAXBContext createContext(Class[] classesToBeBound, Map properties) throws JAXBException { ClassLoader loader = null; if (classesToBeBound.length > 0) { loader = classesToBeBound[0].getClassLoader(); } return createContext(classesToBeBound, properties, loader); }