-
Notifications
You must be signed in to change notification settings - Fork 372
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
Spring Boot 3 throws NoClassDefFoundError - javax/xml/bind/annotation/XmlElement #459
Comments
The exception is thrown by
|
It also helped me to add jaxb-api, when adding only jackson-module-jakarta-xmlbind-annotations it gave the same error:
|
Spring Boot 3.0.0-M4 requires a <dependency>
<groupId>jakarta.xml.bind</groupId>
<artifactId>jakarta.xml.bind-api</artifactId>
<version>3.0.1</version>
</dependency> |
Fixed. |
Now i created Spring boot 3.2.3 in gradle with Java 21. But it throws the same error. |
@abdurasul29052002 Are you using the latest Hypersistence Utils dependency or the ancient |
hello guy,I also discovered this problem, and when I upgrade the version of springboot to the 3.4.1,it has been solved.You can try it. |
The runtime error:
It seems that the included JAXB version is newer than 2.3.3 so it contains the >:-@ new package names:
The text was updated successfully, but these errors were encountered: