2

How can I change out the default JAXB implementation for another one? I'm running Java 1.7.

Coder
  • 1,375
  • 2
  • 20
  • 45

1 Answers1

0

You must place a file called jaxb.properties in the same package as your domain model with contents like the following that specifies EclipseLink MOXy as the JAXB (JSR-222) provider (I'm the MOXy lead).

javax.xml.bind.context.factory=org.eclipse.persistence.jaxb.JAXBContextFactory

For More Information

bdoughan
  • 147,609
  • 23
  • 300
  • 400