I imigrate my aplication to AdoptOpenJDK11, I have found some problems, like "package javax.jws does not exist", I already configure build path with jar "jsr181-api.jar", it's a webApplication, how I fix it ? Have something new about webservices on AdoptOpenJDK 11?
@WebService
@SOAPBinding(style = Style.RPC) // this tags doenst work
output:
error: package javax.jws does not exist
error: package javax.jws.soap does not exist
Someone know how I fix it?
Per Replacements for deprecated JPMS modules with Java EE APIs
Use the reference implementation of JAX-WS instead.
<dependency>
<groupId>com.sun.xml.ws</groupId>
<artifactId>jaxws-ri</artifactId>
<version>2.3.3</version>
<type>pom</type>
</dependency>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With