Skip to content
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.lang.IllegalAccessError: class org.apache.commons.ssl.PKCS8Key tried to access method 'void org.bouncycastle.asn1.ASN1OutputStream.<init>(java.io.OutputStream)' #15

Open
nicovn opened this issue Mar 1, 2023 · 0 comments

Comments

@nicovn
Copy link

nicovn commented Mar 1, 2023

Issue that occurs since Mirth Connect ships with bcprov-jdk18on-171.jar

This constructor has been deprecated since a while (also in bcprov-jdk15on) and replaced with static method create

java.lang.IllegalAccessError: class org.apache.commons.ssl.PKCS8Key tried to access method 'void org.bouncycastle.asn1.ASN1OutputStream.(java.io.OutputStream)' (org.apache.commons.ssl.PKCS8Key and org.bouncycastle.asn1.ASN1OutputStream are in unnamed module of loader java.net.URLClassLoader @81d9a72)
at org.apache.commons.ssl.PKCS8Key.encode(PKCS8Key.java:1000)
at org.apache.commons.ssl.PKCS8Key.formatAsPKCS8(PKCS8Key.java:982)
at org.apache.commons.ssl.PKCS8Key.(PKCS8Key.java:212)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant