Closed Mercious closed 9 months ago
Hi @Mercious
Thank you for reporting the issue. We created a PR that should clean up all these conflicting dependencies: https://github.com/commercetools/commercetools-sync-java/pull/1110. You could expect a fix release this week or early next week.
Hi @Mercious,
We released a new version and now the conflicting dependencies are cleaned up. Hereby I'm closing this issue. If the problem persists, feel free to reopen the issue.
In a fresh maven project, when using the any of the 10.0.0-beta versions, instancing any of the *Sync-classes results in: NoClassDefFound com/commercetools/api/client/SimplePagedQueryResourceRequest
To Reproduce Empty spring-boot web project with additional commercetools sync dependency:
Now any instancing of the sync classes throws an exception:
Throws:
It seems like these beta-versions bring a really old version of commercetools-sdk-java-api, it includes com.commercetools.sdk:commercetools-sdk-java-api:jar:10.1.0:compile com.commercetools.sdk:commercetools-sdk-compat-v1:jar:17.1.0:compile
Not sure if that in itself is wrong, but when explicitly adding a current version of commercetools-sdk-java-api to the pom.xml, the exception stops occurring:
9.2.3 doesn't seem to have this issue, it also seems to have a newer version of commercetools-sdk-java-api that also matches the compat version - 13.0.0