I follow the example from
http://cwiki.apache.org/GMOxDOC20/very-simple-entity-ejb-example.html. Whilst
compiling the source, the maven issues error with
cannot find symbol
symbol : class Stateless
location: package javax.ejb
I think that is because the bean class import the javax.ejb.Stateless class
which can not be found even by including dependency as follow:
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-j2ee_1.4_spec</artifactId>
<version>1.0</version>
<scope>provided</scope>
</dependency>
The unzipped jar shows no Stateless class file in the geronimo-j2ee_1.4_spec.jar
What should I do in order to get the source compiled correctly?
Thank you very much
杜絕網路駭客,保障帳號安全 - 馬上設定 Yahoo!奇摩安全圖章!