java.lang.IllegalAccessError: class vm.mlvm.anonloader.share.ReplaceClassParentTest (in unnamed module @0xd56d67) cannot access class jdk.internal.org.objectweb.asm.ClassReader (in module java.base) because module java.base does not export jdk.internal.org.objectweb.asm to unnamed module @0xd56d67

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via JDK Bug System by Joseph Provino, 1 year ago
class vm.mlvm.anonloader.share.ReplaceClassParentTest (in unnamed module @0xd56d67) cannot access class jdk.internal.org.objectweb.asm.ClassReader (in module java.base) because module java.base does not export jdk.internal.org.objectweb.asm to unnamed module @0xd56d67
java.lang.IllegalAccessError: class vm.mlvm.anonloader.share.ReplaceClassParentTest (in unnamed module @0xd56d67) cannot access class jdk.internal.org.objectweb.asm.ClassReader (in module java.base) because module java.base does not export jdk.internal.org.objectweb.asm to unnamed module @0xd56d67
at vm.mlvm.anonloader.share.ReplaceClassParentTest.run(ReplaceClassParentTest.java:39)
at vm.mlvm.share.MlvmTestExecutor.runMlvmTestInstance(MlvmTestExecutor.java:364)
at vm.mlvm.share.MlvmTestExecutor.runMlvmTest(MlvmTestExecutor.java:305)
at vm.mlvm.share.MlvmTestExecutor.launch(MlvmTestExecutor.java:222)
at vm.mlvm.share.MlvmTestExecutor.launch(MlvmTestExecutor.java:164)
at vm.mlvm.share.MlvmTestExecutor.launch(MlvmTestExecutor.java:135)
at vm.mlvm.share.MlvmTestExecutor.launch(MlvmTestExecutor.java:111)
at vm.mlvm.anonloader.share.ReplaceClassParentTest.main(ReplaceClassParentTest.java:60)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.