Hi all,<br>&nbsp;&nbsp;I am learning Seam, and have a problem with a simple app. I have     one stateless ejb, one entity ejb, and a couple of pages. I want to call a method on the stateless ejb from a button in the first page, like this:<br>
&lt;h:commandButton value=&quot;Aceptar&quot; action=&quot;#{manager.aceptar}&quot;&gt;&lt;/h:commandButton&gt;<br><br>My ejb is as follows:<br>------------------------------------<br>@Stateless<br>@Name(&quot;manager&quot;)<br>
public class AlumnosManager implements AlumnosManagerLocal {<br><br>  @PersistenceContext(unitName=&quot;ejemplo1SeamPU&quot;)<br>  private EntityManager em;<br>    public String aceptar()<br>  {<br>    System.out.println(&quot;Aceptar alumno&quot;);<br>
    return &quot;datosAlumno&quot;;<br>  }<br>}<br>--------------------------------------<br><br>simple enough, but when I hit the button I get the following error. Can somebody help me? <br><br>TIA<br><br>Ernesto Cullen<br>
<br><br>--------------------------------------<br>excepción <br><br>javax.servlet.ServletException: #{manager.aceptar}: javax.el.MethodNotFoundException: /default.xhtml @25,66 action=&quot;#{manager.aceptar}&quot;: Method not found: Manager([5]).aceptar()<br>
        javax.faces.webapp.FacesServlet.service(FacesServlet.java:256)<br>        org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)<br><br><br>causa raíz <br><br>javax.faces.FacesException: #{manager.aceptar}: javax.el.MethodNotFoundException: /default.xhtml @25,66 action=&quot;#{manager.aceptar}&quot;: Method not found: Manager([5]).aceptar()<br>
        com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:99)<br>        javax.faces.component.UICommand.broadcast(UICommand.java:383)<br>        javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:447)<br>
        javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:752)<br>        com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97)<br>        com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)<br>
        com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)<br>        javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)<br>        org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)<br>
<br><br>causa raíz <br><br>javax.faces.el.MethodNotFoundException: javax.el.MethodNotFoundException: /default.xhtml @25,66 action=&quot;#{manager.aceptar}&quot;: Method not found: Manager([5]).aceptar()<br>        javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:81)<br>
        com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:91)<br>        javax.faces.component.UICommand.broadcast(UICommand.java:383)<br>        javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:447)<br>
        javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:752)<br>        com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97)<br>        com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)<br>
        com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)<br>        javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)<br>        org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)<br>
<br><br>causa raíz <br><br>javax.el.MethodNotFoundException: /default.xhtml @25,66 action=&quot;#{manager.aceptar}&quot;: Method not found: Manager([5]).aceptar()<br>        com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:72)<br>
        javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:77)<br>        com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:91)<br>        javax.faces.component.UICommand.broadcast(UICommand.java:383)<br>
        javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:447)<br>        javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:752)<br>        com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97)<br>
        com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)<br>        com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)<br>        javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)<br>        org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)<br>
<br>--------------------------------------------<br>