Reputation: 187499
In my Grails app, I want to use EclipseLink as the JAXB provider. I tried adding a file grails-app\conf\jaxb.properties
with the contents
javax.xml.bind.context.factory=org.eclipse.persistence.jaxb.JAXBContextFactory
But it seems the default JAXB provider is still being used. I've confirmed that the relevant JARs for EclipseLink are on my runtime classpath.
Upvotes: 1
Views: 1365
Reputation: 148977
The jaxb.properties
file needs to be added in the same package as your domain classes:
Upvotes: 1