Quantcast
Channel: Recent Questions - Stack Overflow
Viewing all articles
Browse latest Browse all 16420

Upgrading java 8 to 17, jaxb to jakarta generates source classes from wsdl with javax.xml.bind package and complains about package does not exist

$
0
0

We are in process of upgrading Spring boot 2.7 to 3.2

As part of this upgrade, I upgraded java 8 to java 18 and some other necessary updates too. I updated jaxb schema to jakarta ee and version 3.0.

I changed namespace from java.sun.com to jakarta.ee

Similar changes are made in global-bindings.xml, jaxb-bindings.xml and wsdl-bindings.xml as well

Maven build still generates source files in target directory of project with import statement javax.xml.bind.* complains about package does not exist.

I saw many posts similar to this, but none of them resolved my issue.

Am I missing something which I should be taking care as part of upgrade to jakarta?


Viewing all articles
Browse latest Browse all 16420

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>