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
and reason is pretty clear
So I would like to ask some help with someone had this, how did you manage to get it running?
P.S: my question to the project owner https://github.com/ef-labs/vertx-hk2/issues/8