3 Replies Latest reply on Jan 22, 2009 3:28 PM by luxspes

    SeamAction: Could not instantiate Seam component

    mpssantos.mpssantos.gmail.com

      Hello again.


      I just created a SeamAction to create a user and save it on the data base. I have a User class that is and EJB Entity, and a RegisterUser SeamAction:



      @Stateless

      @Name("registerUser")

      public class RegisterUser { ... }

      When i use the annotation tag @Stateless so i can use the @PersistenceContext EntityManager i get this exception when a click the button that invokes this action:



      org.jboss.seam.InstantiationException: Could not instantiate Seam component: registerUser

      ......

      Caused by: javax.naming.NameNotFoundException: RegisterUser not bound

      Thanks a lot!
      Marco Santos
      -