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?

解决方案

Use the reference implementation of JAX-WS instead.

com.sun.xml.ws

jaxws-ri

2.3.3

pom

Logo

华为开发者空间,是为全球开发者打造的专属开发空间,汇聚了华为优质开发资源及工具,致力于让每一位开发者拥有一台云主机,基于华为根生态开发、创新。

更多推荐