I have recently migrated from Java 8 to Java 11.
for jax.ws
I had to add following external dependency to my pom.xml
as it's no longer available in Java 11. However, I came across some argument that com.sun.*
package classes should not be used and should be avoided if possible. So is it sun.*
or com.sun.*
? If latter is true as well, what would be the best possible replacement for this?
One more thing, this dependency is not directly used by my code but it's referred by one of my other dependencies.
<dependency>
<groupId>com.sun.xml.ws</groupId>
<artifactId>jaxws-rt</artifactId>
<version>2.2.10</version>
</dependency>