Hi Matej Novotny, >>> Could you please explain why? 1. JPMS doesn't allow the same package belong to two different modules, in the shaded JAR it contains "javax" and other jboss dependencies. 2. It's against the modular system concept to add a shaded jar. >>> So you used weld-servlet-core as an automatic module then? Yes, every JAR dependency that doesn't contain a module-info class becomes an automatic module regardless of having a manifest entry or not. With this fix, I was able to run my first microservice using microprofile using JDK 9+ JPMS. |