[jboss-user] [JBoss Seam] - Seam 1.2.1, AS 4.2.1, @Restricted method gives NoClassDef
SmokingAPipe
do-not-reply at jboss.com
Mon Jul 30 01:25:34 EDT 2007
I have a factory method that is restricted, like this:
@Out(required=false) List<User> userList;
|
| @Factory("userList")
| @Restrict("#{s:hasRole('admin')}")
| public void listUsers() {
|
This is the first time I have tried using @Restricted, so it's not like other @Restricted clauses are working. No, the first one isn't working.
When I try to access the userList, I get a big nasty exception:
Caused by: java.lang.NoClassDefFoundError: com/sun/el/ExpressionFactoryImpl
| at org.jboss.seam.util.UnifiedELValueBinding.<init>(UnifiedELValueBinding.java:18)
| at org.jboss.seam.security.Identity.evaluateExpression(Identity.java:506)
| at org.jboss.seam.security.Identity.checkRestriction(Identity.java:149)
| at org.jboss.seam.interceptors.SecurityInterceptor.aroundInvoke(SecurityInterceptor.java:35
|
It must be something simple: a jar in the wrong place, something like that.
Any ideas?
Thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068600#4068600
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068600
More information about the jboss-user
mailing list