Skip to content

Parsson media do not work with injection framework on module path #61

@tomas-langer

Description

@tomas-langer

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.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions