I'm trying to use MOXY with Spring Boot. To that end I included the following in my Gradle build file:
org.eclipse.persistence:org.eclipse.persistence.moxy:2.7.1
And added a jaxb.properties
file with:
javax.xml.bind.context.factory=org.eclipse.persistence.jaxb.JAXBContextFactory
within a JAXB annotated classes directory. However, the context still is:
JAXB context: class com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl
Any ideas on the problem/solution? Thanks.