users@glassfish.java.net

Re: Error deploying EJB jar to GF 3

From: <glassfish_at_javadesktop.org>
Date: Mon, 04 Oct 2010 10:36:08 PDT

Please check your server.log to see if there is any error in processing annotations (if there is class not found exception, the ejb component annotation will fail to process therefore resulting in the system thinking there is no ejb in the ejb jar).

Why the dependency jars are only defined as compile time dependencies? They need to be included for runtime as well (e.g. an EJB jar should include the EJB interface of its declared EJB bean).
[Message sent by forum member 'hzhang_jn']

http://forums.java.net/jive/thread.jspa?messageID=484326