cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mohana Rao S V <mohanara...@gmail.com>
Subject Re: my first ws client attempt
Date Sun, 26 Apr 2020 08:58:02 GMT
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

Mime
View raw message