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
dozer can not work for springboot 3 #843
Comments
Simple answer; sorry, I dont have time. Longer answer; if you want to update dozer to work on SB3, I am happy to review/merge. |
@huihui-hb this isn't SB3 issue. As an alternative those dependencies could be declared in dozer library itself. |
This is only one half of the truth. The main problem is that in Boot 3 all dependencies have been updated to Jakarta. The fix you mentioned does not work in all situations (e.g. if you're using Hibernate). We're currently evaluating what is less pain: switching from Dozer to ??? or upgrading Dozer. @garethahealy if we decide for the latter would you release a new version of Dozer? |
@bender316 ; if your willing to do a PR, I am happy to merge/release. However, I would strongly suggest you move away from dozer. |
Yeah, I know. If a maintaner tells you to run you'd better run fast 😀 . Long term I totally agree with you. So lets see what happens. |
forked dozer and migrated to Jakarta to unblock migration to Spring Boot 3. |
In the long run we "migrated" to ModelMapper. The effort was much less than anticipated. |
Whats your runtime?
Whats the problem?
1 required dozer and springboot 3
2 init dozer
Observed Results:
throw exception :
java.lang.ClassNotFoundException: com.sun.xml.bind.v2.ContextFactory at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641) at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
Do you have plan to make dozermapper support springboot3.0.0 , thks
The text was updated successfully, but these errors were encountered: