I'm currently working on a project which needs wsimport
, but we use JDK 11 and I discovered, that wsimport
was removed from JDK since this version.
I searched for answers and I tried adding this dependency, but it's not working at the moment.
<dependency>
<groupId>javax.xml.ws</groupId>
<artifactId>jaxws-api</artifactId>
<version>2.2.11</version>
</dependency>
Is there any replacement for wsimport
that I'm not aware of?
Thank you!
Actually, none of the provided answers work.
What works is this:
mvn clean generate-resources
(or any later phase from the Default Lifecycle).