I have a SOAP application that works fine with Java 8 because it uses the in-built J2EE libraries ( JAX-WS and JAXB )
When I switch to JDK 11, these libraries are external. The following error then occurs
The provider is hard-wired in javax.xml.ws.api.Provider
private static final String DEFAULT_JAXWSPROVIDER ="com.sun"+".xml.internal.ws.spi.ProviderImpl";
However, this should be overridden by META-INF/services/javax.xml.ws.spi.Provider which contains the correct provider information "com.sun.xml.ws.spi.ProviderImpl"
The code works as expected when run from Eclipse IDE 2019-03 but it fails with the above error on IDEA 2019.1.2
There must be some difference in the class loader order that I am not able to find. Any suggestions would be appreciated