If I'm not mistaken its GAE does not support the EL 2.2 I remember trying to use em, but had the same issues as you do,
Please let me know if you'll find a way to use it.... On Mar 5, 3:41 pm, Dom <[email protected]> wrote: > Hi All, > > i try to build up a very small and simple JSF Application. Until now > all runs great on my local glassfish installation. I followed many > tutorials to deploy an JSF Application in the google app engine, but > it seems i have a problem to get the correct Expression Language > Interpreter to run. > > I add the dependencies to the project: > el-api-2.2.jar > el-impl-2.2.jar > > in web.xml i activate the ExpressionFactory > <context-param> > <param-name>com.sun.faces.expressionFactory</param-name> > <param-value>com.sun.el.ExpressionFactoryImpl</param-value> > </context-param> > > Application runs on GoogleAppEngine, but when using new (?) features > of EL 2.2, such as method calls in expressions > ("#{handler.callSomeMethod()}") i get an method not found error: > > javax.el.ELResolver.invoke(Ljavax/el/ELContext;Ljava/lang/ > Object;Ljava/lang/Object;[Ljava/lang/Class;[Ljava/lang/Object;)Ljava/ > lang/Object; > > java.lang.NoSuchMethodError: javax.el.ELResolver.invoke(Ljavax/el/ > ELContext;Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Class;[Ljava/ > lang/Object;)Ljava/lang/Object; > at com.sun.el.parser.AstValue.invoke(AstValue.java:228) > at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java: > 297) > at > com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java: > 98) > at > javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java: > 88) > at > com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java: > 102) > at javax.faces.component.UICommand.broadcast(UICommand.java:315) > at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java: > 775) > at > javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java: > 1267) > at > com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java: > 82) > at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) > at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java: > 118) > at javax.faces.webapp.FacesServlet.service(FacesServlet.java:312) > at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java: > 511) > at org.mortbay.jetty.servlet.ServletHandler > $CachedChain.doFilter(ServletHandler.java:1166) > at > com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFilter.java: > 58) > at org.mortbay.jetty.servlet.ServletHandler > $CachedChain.doFilter(ServletHandler.java:1157) > at > com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java: > 43) > at org.mortbay.jetty.servlet.ServletHandler > $CachedChain.doFilter(ServletHandler.java:1157) > at > com.google.appengine.tools.development.StaticFileFilter.doFilter(StaticFileFilter.java: > 122) > at org.mortbay.jetty.servlet.ServletHandler > $CachedChain.doFilter(ServletHandler.java:1157) > at > org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java: > 388) > at > org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java: > 216) > at > org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java: > 182) > at > org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java: > 765) > at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java: > 418) > at > com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle(DevAppEngineWebAppContext.java: > 70) > at > org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java: > 152) > at com.google.appengine.tools.development.JettyContainerService > $ApiProxyHandler.handle(JettyContainerService.java:351) > at > org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java: > 152) > at org.mortbay.jetty.Server.handle(Server.java:326) > at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java: > 542) > at org.mortbay.jetty.HttpConnection > $RequestHandler.content(HttpConnection.java:938) > at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:755) > at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218) > at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) > at > org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java: > 409) > at org.mortbay.thread.QueuedThreadPool > $PoolThread.run(QueuedThreadPool.java:582) > > Hope somebody have any good idea to get the new EL-Lib to get working > thanks a lot > Dom -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
