Still:
2010.06.17. 20:29:24 org.glassfish.api.ActionReport failure
SEVERE: Exception while deploying the app
java.lang.IllegalArgumentException: Invalid ejb jar [test-classes.jar]:
it contains zero ejb.
Note:
1. A valid ejb jar requires at least one session, entity (1.x/2.x
style), or message-driven bean.
2. EJB3+ entity beans (@Entity) are POJOs and please package them as
library jar.
3. If the jar file contains valid EJBs which are annotated with EJB
component level annotations (@Stateless, @Stateful, @MessageDriven,
@Singleton), please check server.log to see whether the annotations were
processed properly.
Thanks,
Peter
2010-06-17 20:24 keltezéssel, Siraj Ghaffar írta:
> Can you try this :
>
> <dependency>
> <groupId>org.glassfish.extras</groupId>
> <artifactId>glassfish-embedded-all</artifactId>
> <version>3.0</version>
> <scope>test</scope>
> </dependency>