ava.lang.IllegalStateException: com.sun.proxy.$Proxy336 cannot be cast to javax.annotation.security.DeclareRoles. Related annotation information: annotation [@javax.annotation.security.DeclareRoles(value=[org.imixs.ACCESSLEVEL.NOACCESS, org.imixs.ACCESSLEVEL.READERACCESS, org.imixs.ACCESSLEVEL.AUTHORACCESS, org.imixs.ACCESSLEVEL.EDITORACCESS, org.imixs.ACCESSLEVEL.MANAGERACCESS])] on annotated element [class org.imixs.workflow.jee.ejb.ReportService] of type [TYPE]

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 GitHub by rangalo
, 1 year ago
com.sun.proxy.$Proxy336 cannot be cast to javax.annotation.security.DeclareRoles. Related annotation information: annotation [@javax.annotation.security.DeclareRoles(value=[org.imixs.ACCESSLEVEL.NOACCESS, org.imixs.ACCESSLEVEL.READERACCESS
ava.lang.IllegalStateException: com.sun.proxy.$Proxy336 cannot be cast to javax.annotation.security.DeclareRoles. Related annotation information: annotation [@javax.annotation.security.DeclareRoles(value=[org.imixs.ACCESSLEVEL.NOACCESS, org.imixs.ACCESSLEVEL.READERACCESS, org.imixs.ACCESSLEVEL.AUTHORACCESS, org.imixs.ACCESSLEVEL.EDITORACCESS, org.imixs.ACCESSLEVEL.MANAGERACCESS])] on annotated element [class org.imixs.workflow.jee.ejb.ReportService] of type [TYPE]
at com.sun.enterprise.deployment.archivist.Archivist.readAnnotations(Archivist.java:518)
at com.sun.enterprise.deployment.archivist.Archivist.readAnnotations(Archivist.java:446)
at com.sun.enterprise.deployment.archivist.Archivist.readRestDeploymentDescriptors(Archivist.java:419)
at com.sun.enterprise.deployment.archivist.Archivist.readDeploymentDescriptors(Archivist.java:396)

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.