Erreur déploiement Glassfish

Résolu/Fermé
nifertari - 1 sept. 2014 à 16:39
 nifertari - 1 sept. 2014 à 18:13
Bonjour à tous,

j'ai du mal à déployer un projet EAR sur glassfish, l'erreur m'indique ça:

because there are 3 ejbs in the application with interface com.xxx.xx.yy.zzzz.
Some of the possible causes:

The EJB bean class was packaged in an ear lib library (or through any other library mechanism which makes the library visible to all component modules), this makes all the component modules include this bean class indirectly.
2. The EJB bean class was packaged in a component module which references the EJB, either directly or indirectly through Manifest, WEB-INF/lib.
The EJB bean class should only be packaged in the declaring ejb module and not the referencing modules. The referencing modules should only include EJB interfaces.. Please see server.log for more details.

Aidez moi SVP !!

je vous remercie pour votre aide et votre temps.

cordialement

NM

1 réponse

re-bonjour,

le problème est résolu :).

j'ai tout simplement rajouté le mot clé <scope>provided</scope> dans mon POM où y avait les dépendances de mes EJB.

merci!!
0