-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parsson media do not work with injection framework on module path #61
Comments
injection frameworks should define requirements for this to work, like ie CDI should say sth like annotated methods needs to be open to at least jakarta.enterprise.cdi and be able to take it from there. Explicitly opening the package to particular implementation is closing doors for working with other implementations, while opening it for everyone is just too much. all in all, making the method public sounds like the only solution for now |
I also needed to add opens for |
…n module path Signed-off-by: Lukas Jungmann <lukas.jungmann@oracle.com>
Signed-off-by: Lukas Jungmann <lukas.jungmann@oracle.com>
Reopening as the bug is against Parsson 1.0.0. |
so it is not a problem in master? |
It is a problem in master, too. Both versions have the problem. |
I am using version 1.1.0 - I would need to get it fixed in that major version |
@tomas-langer Parsson 1.1.0 is EE 10 parsson. Are you sure you are using 1.1.0? |
since API 2.1.x is backwards compatible with 2.0.x and Parsson 1.1.x is backward compatible with 1.0.x I see no point being stuck at 2.0.x/1.0.x unless there is strong reason for the older version |
…n module path Signed-off-by: Lukas Jungmann <lukas.jungmann@oracle.com> (cherry picked from commit 68d27e2)
Signed-off-by: Lukas Jungmann <lukas.jungmann@oracle.com> (cherry picked from commit 68d27e2)
When I run Weld + Jersey + Parsson on module path, I get the following exception:
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.
The text was updated successfully, but these errors were encountered: