Closed yasin-herken closed 8 months ago
/**
*/
It generates that. it imports
import javax.jws.WebMethod; import javax.jws.WebParam; import javax.jws.WebResult; import javax.jws.WebService; import javax.jws.soap.SOAPBinding; import javax.xml.bind.annotation.XmlSeeAlso;
But I need to convert it to the import jakarta
I am trying to figure out it.
@yasin-herken : did you upgrade the jaxws-maven-plugin too ?
<plugin>
<groupId>com.sun.xml.ws</groupId>
<artifactId>jaxws-maven-plugin</artifactId>
<version>4.0.2</version>
</plugin>
<dependency>
<groupId>com.sun.xml.ws</groupId>
<artifactId>jaxws-rt</artifactId>
<version>4.0.2</version>
</dependency>
The "jaxws-rt" is the runtime part and is a dependency. You should have something like mentionned above in your "plugins" section, which is in charge from generating java code from WSDL.
I changed my
org.codehaus.mojo jaxws-maven-plugin
plugin to the
org.apache.cxf <artifactId>cxf-codegen-plugin</artifactId>
Thanks for the quick answer.
The mojo plugin is now part of this repository with the new coordinates mentionned above com.sun.xml.ws:jaxws-maven-plugin
If you don't have this issue anymore, I'd suggest you to close it 😄
If you don't have this issue anymore, I'd suggest you to close it 😄
:)
I am trying to migrate my spring boot application from 2.7.0 to 3.1.4. `
I tried 4.0.0 but it generates still javax.