Also, updating documentation in regards Maven integration 
https://cxf.apache.org/docs/using-cxf-with-maven.html to advice about adding 
jakarta.xml.ws-api if using Java version 9 or higher

________________________________
From: Mohana Rao S V <[email protected]>
Sent: Sunday, 26 April 2020 18:58
To: [email protected] <[email protected]>
Subject: Re: my first ws client attempt

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

Reply via email to