2 Replies Latest reply on May 21, 2007 4:56 PM by Grant Rettke

    Can't deploy Stateless bean?

    Grant Rettke Novice

      Hi folks,

      I'm working on a prototype in Seam 1.2.1 and JBoss 4.0.5GA using EJB3.

      So far I've only written Stateful beans. Today I wrote a Stateless bean and when I tried deploying the app it failed with the error message:

      java.lang.RuntimeException: Could not create Component: policyHolderDao

      I can see that the class file is in the ear. For that bean it has a @Local interface and the bean is marked as @Stateless.

      What am I doing wrong here?