Root of the problem : Exception in thread "main"
java.lang.NoClassDefFoundError: javax/xml/ws/Service
Reason: J2EE components separated form OpenJDK from Java9 by introducing
modularity
Ref: https://openjdk.java.net/jeps/320
Solution: Add the missing dependency
<dependency>
<groupId>jakarta.xml.ws</groupId>
<artifactId>jakarta.xml.ws-api</artifactId>
<version>2.3.3</version>
</dependency>
More info: Java EE components maintained by Jakarta going further.
Ref: https://jakarta.ee/release/
Note: It would nice to add more examples using Java 11.
--
Sent from: http://cxf.547215.n5.nabble.com/cxf-user-f547216.html