JBoss Community

Re: Using JAXB and see java.lang.ClassNotFoundException: __redirected/__DatatypeFactory

created by Jason Greene in JBoss AS7 Development - View the full discussion

The error is misleading due to a JAXP bug in some factories. The solution is to ensure that you have your threads current context class loader set to the calling modules class loader and that that module have a service import on the com.sun jaxb impl module.

Reply to this message by going to Community

Start a new discussion in JBoss AS7 Development at Community