2 Replies Latest reply on Feb 1, 2007 11:19 AM by monkeyknifefight

    New to Seam getting

    monkeyknifefight

      Hey guys I am a total newbie to Seam but I am trying to get up to speed for a work project. I have a simple project (not much more than a hello world) that i have been working with but i am stumped with my current problem.

      When i try to compile the source i get an error:

      cannot find symbol
      [javac] symbol : class Out
      [javac] location: class org.jboss.seam.example.tester.TesterAction
      @Out

      I have lots of other annotations even in the same file but for some reason I am getting this error only for this one. Can anyone shed some light on why this is happening? I'll paste the file that's giving the error into the bottom of this message. Like i said i'm a newbie so i'm sure it's something stupid. Any help would be greatly appreciated.

      Thanks!
      Chris

      @Stateless
      @Name("tester")
      public class TesterAction implements Tester
      {

      @In
      private Data data;

      @Out
      private List queryResult;

      @PersistenceContext
      private EntityManager em;

      public String test()
      {
      queryResult = em.createQuery("select unitid from iped_hd").getResultList();
      return "/tested.jspx";
      }

      }