Bonjour, j'ai un gros problème lors de mon injection avec l'annotation @EJB
@EJB
private CustomerLocal customerBean;
ça me mets plein de message d'erreur du genre:
3:50:49,362 ERROR [TomcatDeployment] ENC setup failed
java.lang.IllegalStateException: Resolution should not happen via injection container
3:51:23,943 WARN [HDScanner] Failed to process changes
org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
*** CONTEXTS IN ERROR: Name -> Error
vfszip:/C:/Users/Damien/Desktop/Projet_JAVA_EE/jboss-5.0.0.CR2/server/default/deploy/projet_jee_web.war -> java.lang.IllegalStateException: Resolution should not happen via injection container
....
Merci pour votre aide.
Partager