Unable to make field private final java.math.BigInteger java.security.spec.ECParameterSpec.n accessible: module java.base does not "opens java.security.spec" to unnamed module @59309333
Adding the VM args in java runtime could fix the issue.Is there any better way to do the same
–add-opens=java.base/java.security=ALL-UNNAMED
Java 21 Migration from Java 8
New contributor
Sakthivel C is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.