-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
With Spring Boot 3 javax.*
is replaced with jakarta.*
resulting in unit test failure due to dependency conflict in project and sdk.
Error: NoClassDefFound javax/xml/bind/annotation/XmlElement
To Reproduce
Run the below code in project:
objectMapper.findAndRegisterModules();
ObjectMapper objectMapper = new ObjectMapper();
objectMapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);
objectMapper.readValue(data, tClass);
Expected behavior
SDK should use the latest jakarta
dependencies.
Screenshots/Code snippet
Error: NoClassDefFound javax/xml/bind/annotation/XmlElement
Stack information (please complete the following information):
- Java: 17
- SDK: 14.3 latest
Additional context
NA
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working