-
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
Java 9: Illegal reflective access warning caused by JAXB dependency #23
Comments
Hi @liorhar could you share details which version of Java are you using? Jackson library requires those dependencies and can cause issues on newer java versions when removed. Igor |
I'm using java 13 (adopt openjdk) I believe the issue is with every version greater than 8 |
Hi @liorhar I have investigated this issue and need bit more help to nail the issue. It seems to be a warning happening only for patch requests, which would be if using: "setMessageStream" method. Do you see it on any other endpoints? |
hi @ibalosh I only use the method |
gotcha |
Hi @liorhar we have released a new version of the library (1.7) , which uses later version of Jersey client in which jaxb is optional and removed. Could you let me know if you still see the warning, and if so, could you share the exact warning here? Thanks |
yeah, it looks good now, thanks 🙏 |
Hey, glad it works now ok, thank you for letting us know |
When using postmark's lib with java version greater than 8 there's a warning about illegal access caused by the jaxb dependency.
See here - javaee/jaxb-v2#1197
Upgrading from version 2.3.0 to 2.3.1 should resolve that issue.
Btw, does postmark use jaxb at all? I excluded it from my dependencies and everything seems to work fine
The text was updated successfully, but these errors were encountered: