commercetools / commercetools/commercetools-sdk-java-v2
Fails to run with Java 17 Spring Boot 3
- Dominant language
- Java
- Stars
- 47
- Forks
- 21
- Avg merge
- 9d 13h
- Merged PRs (30d)
- 4
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:
```java
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
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.