This question already has an answer here:
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.