java.lang.IllegalAccessError

cannot access superclass from class

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1839

  • via Stack Overflow by Marcin Sasin
    , 10 months ago
    cannot access superclass from class
  • via Eclipse Bugzilla by guyn, 1 year ago
    class sun.security.provider.SHA3 cannot access its superclass sun.security.provider.SHA5
  • via GitHub by pricey123
    , 10 months ago
    class me.confuser.banmanager.internal.hikari.pool.HikariPool cannot access its superclass me.confuser.banmanager.internal.hikari.pool.PoolBase
  • Stack trace

    • java.lang.IllegalAccessError: cannot access superclass from class at sun.misc.Unsafe.defineClass(Native Method) at sun.reflect.ClassDefiner.defineClass(ClassDefiner.java) at sun.reflect.MethodAccessorGenerator$1.run(MethodAccessorGenerator.java) at java.security.AccessController.doPrivileged(Native Method) at sun.reflect.MethodAccessorGenerator.generate(MethodAccessorGenerator.java) at sun.reflect.MethodAccessorGenerator.generateConstructor(MethodAccessorGenerator.java) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java) at java.lang.reflect.Constructor.newInstance(Constructor.java) at java.lang.reflect.Proxy.newInstance(Proxy.java) at java.lang.reflect.Proxy.newProxyInstance(Proxy.java) at sun.reflect.annotation.AnnotationParser.annotationForMap(AnnotationParser.java) at sun.reflect.annotation.AnnotationParser.parseAnnotation2(AnnotationParser.java) at sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java) at sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationParser.java) at java.lang.reflect.Field.declaredAnnotations(Field.java) at java.lang.reflect.Field.getDeclaredAnnotations(Field.java) at java.lang.reflect.AccessibleObject.getAnnotations(AccessibleObject.java) at com.sun.xml.internal.bind.v2.model.annotation.RuntimeInlineAnnotationReader.getAllFieldAnnotations(RuntimeInlineAnnotationReader.java) at com.sun.xml.internal.bind.v2.model.annotation.RuntimeInlineAnnotationReader.getAllFieldAnnotations(RuntimeInlineAnnotationReader.java) at com.sun.xml.internal.bind.v2.model.impl.ClassInfoImpl.findFieldProperties(ClassInfoImpl.java) at com.sun.xml.internal.bind.v2.model.impl.ClassInfoImpl.getProperties(ClassInfoImpl.java)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.