Relative Content

Tag Archive for javaspringspring-bootcxfeclipselink

Error property “eclipselink.default-target-namespace” is not supported when eclipselink is on the classpath

I am getting the error “eclipselink.default-target-namespace” is not supported when eclipselink is on the classpath. I found an article https://issues.apache.org/jira/browse/CXF-8960
There they mention —“Only by setting the default JAXB provider to be the glassfish implementation by setting the system property jakarta.xml.bind.JAXBContextFactory=org.glassfish.jaxb.runtime.v2.ContextFactory CXF will work in this setting.”
I want to know how to set it and where(I am using it in a Spring Boot app).

Error property “eclipselink.default-target-namespace” is not supported when eclipselink is on the classpath

I am getting the error “eclipselink.default-target-namespace” is not supported when eclipselink is on the classpath. I found an article https://issues.apache.org/jira/browse/CXF-8960
There they mention —“Only by setting the default JAXB provider to be the glassfish implementation by setting the system property jakarta.xml.bind.JAXBContextFactory=org.glassfish.jaxb.runtime.v2.ContextFactory CXF will work in this setting.”
I want to know how to set it and where(I am using it in a Spring Boot app).