When I run Weld + Jersey + Parsson on module path, I get the following exception:
java.lang.reflect.InaccessibleObjectException: Unable to make private void org.eclipse.parsson.media.JsonValueBodyWriter.init() accessible: module org.eclipse.parsson.media does not "opens org.eclipse.parsson.media" to module weld.core.impl
As the init method annotated with @PostConstruct is private, we need to have it open for injection frameworks, as otherwise this cannot be called.
Please either change the method to public or open the package.
Thank you.