Salut,
Sans raison, sur un serveur glassfish, je me tape cette erreur

Code :
1
2
3
4
5
6
7
8
9
10
 Error occurred during deployment: Exception while deploying the app [...-ear-1.0.0-SNAPSHOT] : Cannot resolve reference Local 
 ejb-ref name=...InventoryServiceSessionBean/locationService,Local 3.x 
 interface =...LocationService,ejb-link=null,lookup=,mappedName=,jndi-name=,refType=Session because there are 2 ejbs in the application 
 with interface ...LocationService. 
Some of the possible causes: 
1. 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.
The module has not been deployed.
See the server log for details.
sachant que rien n'a change et que cela marchait hier

quelqu un aurait une explication

merci