You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ERROR io.vertx.core.impl.ContextImpl - Unhandled exception java.lang.IllegalAccessError: class io.gravitee.policy.jws.JWSPolicy (in unnamed module @0x409b9f38) cannot access class sun.security.x509.X509CertImpl (in module java.base) because module java.base does not export sun.security.x509 to unnamed module @0x409b9f38 at io.gravitee.policy.jws.JWSPolicy.validateCRLSFromCertificate(JWSPolicy.java:245)
It is due to the fact this policy is still relying on an old gravitee-parent, meaning an old java version.
Problem is classes that are used by the policies (sun.security.x509.*) has been moved with the introduction of JIGSAW in Java 9.
Description
Using JWS in 3.20.10 generates this error:
ERROR io.vertx.core.impl.ContextImpl - Unhandled exception java.lang.IllegalAccessError: class io.gravitee.policy.jws.JWSPolicy (in unnamed module @0x409b9f38) cannot access class sun.security.x509.X509CertImpl (in module java.base) because module java.base does not export sun.security.x509 to unnamed module @0x409b9f38 at io.gravitee.policy.jws.JWSPolicy.validateCRLSFromCertificate(JWSPolicy.java:245)
It is due to the fact this policy is still relying on an old
gravitee-parent
, meaning an old java version.Problem is classes that are used by the policies (
sun.security.x509.*
) has been moved with the introduction of JIGSAW in Java 9.See: https://wiki.openjdk.org/display/JDK8/Java+Dependency+Analysis+Tool#JavaDependencyAnalysisTool-ReplaceusesoftheJDK'sinternalAPIs
What to do ?
The text was updated successfully, but these errors were encountered: