We are trying to run an application witch consumes some SOAP JAX-WS. We add these libraries to the resources:
<jarResource>
<groupId>jakarta.xml.ws</groupId>
<artifactId>jakarta.xml.ws-api</artifactId>
<version>3.0.1</version>
</jarResource>
<jarResource>
<groupId>javax.xml.ws</groupId>
<artifactId>jaxws-api</artifactId>
<version>2.3.1</version>
</jarResource>
<jarResource>
<groupId>com.sun.xml.ws</groupId>
<artifactId>jaxws-rt</artifactId>
<version>2.3.5</version>
</jarResource>
The application downloads all jar correctly and run correctly, but when tries to consume the WS, we are getting
java.lang.reflect.InvocationTargetException, cause: "Could not initialize class com.sun.xml.ws.api.SOAPVersion"
Has anyone tried to run a JAX-WS application? What any other lib should I need to add?
JAX-WS and openJDK 11
-
- Posts: 760
- Joined: 24 Mar 2020, 13:37
Re: JAX-WS and openJDK 11
with which version of JRE are you trying to run your Jnlp application? I have no experience or running JAX-WS app with OWS. However, if the specified jre version > 1.8 you might have to add some module vm args.