eclipse-ee4j / metro-jax-ws

metro-jax-ws
https://eclipse-ee4j.github.io/metro-jax-ws/
BSD 3-Clause "New" or "Revised" License
72 stars 40 forks source link

Problem with spring boot migration 3.1.4 #675

Closed yasin-herken closed 8 months ago

yasin-herken commented 11 months ago

I am trying to migrate my spring boot application from 2.7.0 to 3.1.4. `

com.sun.xml.ws
  <artifactId>jaxws-rt</artifactId>
  <version>4.0.0</version>
</dependency>`

I tried 4.0.0 but it generates still javax.

yasin-herken commented 11 months ago

/**

laurentschoelens commented 8 months ago

@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>
yasin-herken commented 8 months ago
    <dependency>
        <groupId>com.sun.xml.ws</groupId>
        <artifactId>jaxws-rt</artifactId>
        <version>4.0.2</version>
    </dependency>
laurentschoelens commented 8 months ago

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.

yasin-herken commented 8 months ago

I changed my

org.codehaus.mojo jaxws-maven-plugin

plugin to the

org.apache.cxf
<artifactId>cxf-codegen-plugin</artifactId>
laurentschoelens commented 8 months ago

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

laurentschoelens commented 8 months ago

If you don't have this issue anymore, I'd suggest you to close it 😄

yasin-herken commented 8 months ago

If you don't have this issue anymore, I'd suggest you to close it 😄

:)