You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been trying to migrate a service to java 9 and despite the fact that I can compile and run the fat.jar, I can't run it on Intellij and reason is the split package issues with the libraries vertx-hk2 and vertx.jersey since both libraries have exactly the same package com.englishtown.vertx.hk2
I tried to workaround this issue with ideas like(patching-modules, excluding) but nothing seems to work an I cant just exclude one of those since both are essential for the service run.
when intellij tries to execute the service this happens
Error occurred during initialization of boot layer
java.lang.module.ResolutionException: Modules vertx.jersey and vertx.hk2 export package com.englishtown.vertx.hk2 to module kryo.serializers
Process finished with exit code 1
I'm sorry to use this channel for questions like that, I just didn't found a different way to reach you guys
@adrianluisgonzalez yes I went for this idea the shaded.jar worked for me with this approach I managed to bypass the split package issue, will be nice in the future if the libraries can coexist without it :)
Our plan is to change the groupId and packages from com.englishtown to io.eflabs and will fix the split package issue at the same time. Afraid I don't have a time frame yet.
I've been trying to migrate a service to java 9 and despite the fact that I can compile and run the fat.jar, I can't run it on Intellij and reason is the split package issues with the libraries vertx-hk2 and vertx.jersey since both libraries have exactly the same package com.englishtown.vertx.hk2
I tried to workaround this issue with ideas like(patching-modules, excluding) but nothing seems to work an I cant just exclude one of those since both are essential for the service run.
when intellij tries to execute the service this happens
I'm sorry to use this channel for questions like that, I just didn't found a different way to reach you guys
https://stackoverflow.com/questions/50007012/vertx-hk2-and-vertx-jersey-split-package-issue-on-intellij
The text was updated successfully, but these errors were encountered: