java.lang.IllegalAccessError: cannot access superclass from class

Stack Overflow | Marcin Sasin | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    cannot access superclass from class

    Stack Overflow | 7 months ago | Marcin Sasin
    java.lang.IllegalAccessError: cannot access superclass from class

    Root Cause Analysis

    1. java.lang.IllegalAccessError

      cannot access superclass from class

      at sun.misc.Unsafe.defineClass()
    2. Java RT
      ClassInfoImpl.getProperties
      1. sun.misc.Unsafe.defineClass(Native Method)
      2. sun.reflect.ClassDefiner.defineClass(ClassDefiner.java)
      3. sun.reflect.MethodAccessorGenerator$1.run(MethodAccessorGenerator.java)
      4. java.security.AccessController.doPrivileged(Native Method)
      5. sun.reflect.MethodAccessorGenerator.generate(MethodAccessorGenerator.java)
      6. sun.reflect.MethodAccessorGenerator.generateConstructor(MethodAccessorGenerator.java)
      7. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java)
      8. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java)
      9. java.lang.reflect.Constructor.newInstance(Constructor.java)
      10. java.lang.reflect.Proxy.newInstance(Proxy.java)
      11. java.lang.reflect.Proxy.newProxyInstance(Proxy.java)
      12. sun.reflect.annotation.AnnotationParser.annotationForMap(AnnotationParser.java)
      13. sun.reflect.annotation.AnnotationParser.parseAnnotation2(AnnotationParser.java)
      14. sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java)
      15. sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationParser.java)
      16. java.lang.reflect.Field.declaredAnnotations(Field.java)
      17. java.lang.reflect.Field.getDeclaredAnnotations(Field.java)
      18. java.lang.reflect.AccessibleObject.getAnnotations(AccessibleObject.java)
      19. com.sun.xml.internal.bind.v2.model.annotation.RuntimeInlineAnnotationReader.getAllFieldAnnotations(RuntimeInlineAnnotationReader.java)
      20. com.sun.xml.internal.bind.v2.model.annotation.RuntimeInlineAnnotationReader.getAllFieldAnnotations(RuntimeInlineAnnotationReader.java)
      21. com.sun.xml.internal.bind.v2.model.impl.ClassInfoImpl.findFieldProperties(ClassInfoImpl.java)
      22. com.sun.xml.internal.bind.v2.model.impl.ClassInfoImpl.getProperties(ClassInfoImpl.java)
      22 frames