Hi Forum,

I'm using SessionBeans with a 

        @Destroy
        @Remove
        public void destroy() {
        }

Method. Seam complains: 

WARN  [org.jboss.seam.Component] Exception calling stateful session bean 
default @Remove method: myBean
java.lang.RuntimeException: exception invoking: destroy
        at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:134)
...
Caused by: java.lang.IllegalAccessException: Class 
org.jboss.seam.util.Reflections can not access a member of class MyBean with 
modifiers "public"

This problem puzzles me for hours now. What could it be? 

Best thanks,

Florian

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4079361#4079361

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4079361
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to