A simple EL 2.2 method invocation
"#{helloWorldController.doSomething(helloWorldModel)}" fails with following
exception:

javax.faces.el.MethodNotFoundException: javax.el.MethodNotFoundException:
/helloWorld.xhtml at line 15 and column 85
action="#{helloWorldController.doSomething(helloWorldModel)}": Method not
found:
com.bns.sol.brokerage.entitlement.admin.web.helloworldcontrol...@1e7fe8e.dosomething(java.lang.Object)
        at
javax.faces.component._MethodExpressionToMethodBinding.invoke(_MethodExpressionToMethodBinding.java:92)
        at
org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:100)
        at javax.faces.component.UICommand.broadcast(UICommand.java:120)
        at javax.faces.component.UIViewRoot._broadcastAll(UIViewRoot.java:890)
        at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:234)
        at javax.faces.component.UIViewRoot._process(UIViewRoot.java:1202)
        at 
javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:623)
        at
org.apache.myfaces.lifecycle.InvokeApplicationExecutor.execute(InvokeApplicationExecutor.java:35)
        at
org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:143)
        at
org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:93)
        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:189)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)
        at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
        at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
        at java.lang.Thread.run(Thread.java:619)
Caused by: javax.el.MethodNotFoundException: /helloWorld.xhtml at line 15
and column 85 action="#{helloWorldController.doSomething(helloWorldModel)}":
Method not found:
com.bns.sol.brokerage.entitlement.admin.web.helloworldcontrol...@1e7fe8e.dosomething(java.lang.Object)
        at
org.apache.myfaces.view.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:91)
        at
javax.faces.component._MethodExpressionToMethodBinding.invoke(_MethodExpressionToMethodBinding.java:88)
        ... 22 more

The environment:
. Tomcat 6.0.26 with EL 2.2 (Replaces lib/el-api.jar and lib/jasper-el.jar
with the corresponding jars from tomcat-7.0.0-RC2, available at
http://people.apache.org/~markt/dev/tomcat-7/v7.0.0-RC2/);
. MyFaces core 2.0.0
. I'm using Facelets, no JSP invovled at all.

The JSF RI 2.0.2 has the same issue.

Is that a known issue? If yes, the link? If not, how can I create one?

A sample maven project is attached.
http://old.nabble.com/file/p28669825/jsf-2.0-el-2.2.zip jsf-2.0-el-2.2.zip 
-- 
View this message in context: 
http://old.nabble.com/MyFaces-2.0.0-doest-not-fully-support-EL-2.2-method-invocation-tp28669825p28669825.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.

Reply via email to