[jboss-user] [JBoss Seam] - Seam Remoting java.lang.NoClassDefFoundError: com/sun/el/Exp
p2auljr
do-not-reply at jboss.com
Thu Jun 28 16:36:04 EDT 2007
I am testing the seam remoting feature on JBOSS 4.2 with seam 1.2.1 ga. I have a bean with bijection annotations that use el expressions to inject the proper object. I get the following error when a remote method is called.:
Caused by: java.lang.NoClassDefFoundError:com/sun/el/ExpressionFactoryImpl
at org.jboss.seam.core.Expressions$1.getValueExpression(Expressions.java:110)
at org.jboss.seam.core.Expressions$1.getValue(Expressions.java:73)
at org.jboss.seam.Component.getValueToInject(Component.java:1877)
at org.jboss.seam.Component.injectAttributes(Component.java:1368)
at org.jboss.seam.Component.inject(Component.java:1195)
at org.jboss.seam.interceptors.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:46)
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
at org.jboss.seam.interceptors.ManagedEntityIdentityInterceptor.aroundInvoke(ManagedEntityIdentityInterceptor.java:37)
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
at org.jboss.seam.interceptors.ConversationInterceptor.aroundInvoke(ConversationInterceptor.java:63)
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
at org.jboss.seam.interceptors.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:27)
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:103)
at org.jboss.seam.intercept.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:53)
at sun.reflect.GeneratedMethodAccessor136.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118)
For example:
@Name("test")
public class Test implements Serializable
{
@In(#{someBean.property})
@WebRemote
public void test()
{
// some code
}
}
Is this a bug or am I not supped to use el-expressions and/or bijection for beans that are to be accessed remotely?
Thank you.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4058927#4058927
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4058927
More information about the jboss-user
mailing list