CDI Injection in Eventlistener is not Working in EAP 7.0.x
Issue
I get the Error following Error when i try to Inject a Principal in my EntityListener.
java.lang.Exception: {"WFLYCTL0080: Fehlgeschlagene Dienste" => {"jboss.persistenceunit.\"MyWar.war#PUINT\"" => "org.jboss.msc.service.StartException in service jboss.persistenceunit.\"MyWar.war#PUINT\": javax.persistence.PersistenceException: [PersistenceUnit: PUINT] Unable to build Hibernate SessionFactory Caused by: javax.persistence.PersistenceException: [PersistenceUnit: PUINT] Unable to build Hibernate SessionFactory Caused by: org.jboss.weld.exceptions.IllegalArgumentException: WELD-001456: Argument resolvedBean must not be null"}}
Environment
- Red Hat JBOSS Enterprise Application Platform (EAP)
- 7.0.x.GA
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.