users@glassfish.java.net

Re: "Contains no EJBs"...but it

From: <noreply_at_java.net>
Date: Mon, 08 Nov 2010 05:59:08 -0800

Can you share a little bit more about the packaging of the
ngp-constituent-ejb-1.0-SNAPSHOT.jar aa you cannot share the test case? Is
the EJB bean class with the component annotation packaged directly inside
this jar? Does the bean class reference some other classes somewhere else (if
for some reason the referenced class could not be loaded, that' will affect
the annotation processing which might lead server to think there is no valid
EJB in the jar).

In the server.log, before this part of the error message, is there anything
about annotation processing failed (hint #3 of the error message)? 

If you deploy this ear to the latest nightly build, does it make a
difference?


--
[Message sent by forum member 'hzhang_jn']
View Post: http://forums.java.net/node/713753