0 Replies Latest reply on May 29, 2009 3:47 PM by Dmitri Ilyin

    Seam gen (2.1.1): web appl. not running under jboss 5.1.0

    Dmitri Ilyin Newbie


      i'm newbe. I have tried to generate a web application with seam-gen (use seam 2.1.1).
      I use a h2 database (from the book Seam in Action) and have deployed it to jboss 5.1.0 (new instalation).
      The application seems to be deployed. I can invoke the start page and see it. But the try to call page that tries to read from database brings an exception:

      org.hibernate.hql.ast.QuerySyntaxException: Course is not mapped [select course from Course course]

      What could be a problem?

      thanks a lot.