Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated examples and guides from Spring Framework 6 and jakarta classes? #57

Open
huima opened this issue Nov 29, 2022 · 4 comments
Open

Comments

@huima
Copy link

huima commented Nov 29, 2022

Hi,

wondering if there is already work being done on updating creating and consuming SOAP services with new versions of the Spring Framework 6 and Spring Boot 3?

At the moment current example projects naturally fail if tried under 3.0.0 releases, as dependencies have been updated to jakarta 9+ classes.

@huima
Copy link
Author

huima commented Nov 29, 2022

I will answer to myself.

Required only updating the plugin to use new version:
jaxb "com.sun.xml.bind:jaxb-xjc:4.0.1"

And everything works as expected with Spring Boot 3.

New plugin generates jakarta.* namespace classes.

@bitsofinfo
Copy link

Execution failed for task ':genJaxb'.
> java.lang.AssertionError: jakarta.xml.bind.JAXBException: Implementation of Jakarta XML Binding-API has not been found on module path or classpath.
   - with linked exception:
  [java.lang.ClassNotFoundException: org.glassfish.jaxb.runtime.v2.ContextFactory]

@ScriptKiddie47
Copy link

I will answer to myself.

Required only updating the plugin to use new version: jaxb "com.sun.xml.bind:jaxb-xjc:4.0.1"

And everything works as expected with Spring Boot 3.

New plugin generates jakarta.* namespace classes.

Thank you for sharing this !

@Buzzardo
Copy link
Contributor

We plan to rewrite this guide soon. Using the tools made available by Spring Framework 6 and Spring Boot 3 is definitely part of that. I'll leave this issue open as a reminder, though. Paging @gregturn

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants