AnnotationUtils.findAnnotation() has thrown an AccessControlException

java.security.AccessControlException
Javadoc
at java.security.AccessControlContext.checkPermission
(source)
at java.security.AccessController.checkPermission
(source)
at java.lang.SecurityManager.checkPermission
(source)
at com.google.appengine.tools.development.DevAppServerFactory$CustomSecurityManager.checkPermission
at java.lang.SecurityManager.checkPackageAccess
(source)
at sun.reflect.misc.ReflectUtil.checkPackageAccess
(source)
at sun.reflect.misc.ReflectUtil.checkPackageAccess
(source)
at java.lang.reflect.Proxy.getInvocationHandler
(source)
at org.springframework.core.annotation.AnnotationUtils.synthesizeAnnotation
(source)
at org.springframework.core.annotation.AnnotationUtils.findAnnotation
(source)
at org.springframework.core.annotation.AnnotationUtils.findAnnotation
(source)
10 frames hidden

Typical Exception Messages

  1. access denied ("java.lang.RuntimePermission" "accessClassInPackage.sun.reflect.annotation")
  2. access denied ("java.lang.RuntimePermission" "accessClassInPackage.sun.reflect.annotation")

Origin

SecurityManager.checkPackageAccess() has thrown an AccessControlException

java.security.AccessControlException
4 frames hidden
java.lang.SecurityManager.checkPackageAccess
36Web pages

Similar

Specific cases

External results for this pattern (3)

  1. mar14via Stack Overflow3 months ago
    access denied ("java.lang.RuntimePermission" "accessClassInPackage.sun.reflect.annotation")
    Show stack trace
  2. mar14 via StackOverflowvia Google Groups11 months ago
    access denied ("java.lang.RuntimePermission" "accessClassInPackage.sun.reflect.annotation")
    Show stack trace
  3. Marek Wiącekvia Spring JIRA2 years ago
    access denied ("java.lang.RuntimePermission" "accessClassInPackage.sun.reflect.annotation")
    Show stack trace