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!
It's works, finally! Just in case someone has the same problem :
I wanted to use maven build to generate the sources, with this pom.xml :
But the solution is to run wsimport directly with the console :
And of course, I'm using JDK 11