This content has been marked as final. Show 2 replies
The @Stateless annotation is in the javax.ejb package so you need this import:
In the JBoss EJB3 implementation, the Stateless class is located in jboss-ejb3x.jar.
Also, are you using a 5.0 JDK? Annotations won't work with 1.4.2.