[jboss-user] [JBoss Seam] - @Scope(SESSION) SESSION cannot be resolved
ejbengine
do-not-reply at jboss.com
Sat Apr 14 10:09:37 EDT 2007
I'm using JBOSS IDE and am getting the error message "SESSION cannot be resolved" in my entity class even though I have the correct import
import org.jboss.seam.ScopeType;
However, when I specify the @Scope annotation with the fully qualified name of the attribute as
org.jboss.seam.ScopeType.SESSION
the error goes away.
I thus do not understand why :
import org.jboss.seam.ScopeType;
|
| @Scope(SESSION)
gives the "SESSION cannot be resolved" compilation error message
and yet
| @Scope(org.jboss.seam.ScopeType.SESSION)
works
jeff mutonho
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037302#4037302
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037302
More information about the jboss-user
mailing list