is javassist in your app? - Romain
2012/7/17 cri_sys <ser...@gmail.com> > Yeah, thanks!! > It was because of the Guice, now finally injects correctly. > But after that modification there an exception with the webbeans, cannot > open anypage. > i try to find it in the dependcies, but is not there. > > java.lang.ClassCastException: > com.polyglong.bean.video.VideoBean_$$_javassist_2 cannot be cast to > javassist.util.proxy.ProxyObject > at > > org.apache.webbeans.proxy.JavassistProxyFactory.createNormalScopedBeanProxy(JavassistProxyFactory.java:217) > at > > org.apache.webbeans.container.BeanManagerImpl.getReference(BeanManagerImpl.java:949) > at > > org.apache.webbeans.el.WebBeansELResolver.getNormalScopedContextualInstance(WebBeansELResolver.java:150) > at > > org.apache.webbeans.el.WebBeansELResolver.getValue(WebBeansELResolver.java:139) > at > javax.el.CompositeELResolver.getValue(CompositeELResolver.java:58) > at > > org.apache.myfaces.el.unified.resolver.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:179) > at > org.apache.el.parser.AstIdentifier.getValue(AstIdentifier.java:72) > at org.apache.el.parser.AstValue.getValue(AstValue.java:147) > at > org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:189) > at > > org.apache.webbeans.el.WrappedValueExpression.getValue(WrappedValueExpression.java:68) > at > > org.apache.myfaces.view.facelets.el.ELText$ELTextVariable.toString(ELText.java:208) > at > > org.apache.myfaces.view.facelets.el.ELText$ELTextComposite.toString(ELText.java:140) > at > > org.apache.myfaces.view.facelets.compiler.AttributeInstruction.write(AttributeInstruction.java:51) > at > > org.apache.myfaces.view.facelets.compiler.UIInstructions.encodeBegin(UIInstructions.java:46) > at > org.apache.myfaces.view.facelets.compiler.UILeaf.encodeAll(UILeaf.java:505) > at > javax.faces.component.UIComponentBase.encodeAll(UIComponentBase.java:539) > at > javax.faces.component.UIComponentBase.encodeAll(UIComponentBase.java:539) > at > > org.apache.myfaces.view.facelets.FaceletViewDeclarationLanguage.renderView(FaceletViewDeclarationLanguage.java:1972) > at > > org.apache.myfaces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:285) > at > > com.ocpsoft.pretty.faces.application.PrettyViewHandler.renderView(PrettyViewHandler.java:163) > at > > javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:59) > at > > org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:116) > at > org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:241) > at javax.faces.webapp.FacesServlet.service(FacesServlet.java:199) > at > > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) > at > > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) > at com.ocpsoft.pretty.PrettyFilter.doFilter(PrettyFilter.java:145) > at > > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) > at > > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) > at > > com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:66) > at > > com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:118) > at > com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:113) > at > > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) > at > > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) > at com.ocpsoft.pretty.PrettyFilter.doFilter(PrettyFilter.java:145) > at > > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) > at > > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) > at > > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225) > at > > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) > at > org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:45) > at > > org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) > at > > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168) > at > > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) > at > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927) > at > > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) > at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) > at > > org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1001) > at > > org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585) > at > > org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310) > at > > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) > at > > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) > at java.lang.Thread.run(Thread.java:662) > > -- > View this message in context: > http://openejb.979440.n4.nabble.com/javax-el-PropertyNotFoundException-in-JSF-tp4656218p4656333.html > Sent from the OpenEJB User mailing list archive at Nabble.com. >