[jboss-user] [JBoss Seam] - can not access a member of class ... with modifiers

floba do-not-reply at jboss.com
Wed Aug 29 18:17:51 EDT 2007


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



More information about the jboss-user mailing list