Join GitHub today
CDI 1.1 Initialization Problem #1
I try to deploy on Jboss Wildfly, that uses CDI 1.1 and de error bellow happen, I find some explanation in the links:
I need to set org.jboss.weld.nonPortableMode system property to deploy the application. But this need to be fixed as this is not a desired workaround
Caused by: org.jboss.weld.exceptions.DefinitionException: Exception List with 1 exceptions:
BTW you can address this by accumulating a list of all the Beans you are interested with the ProcessBean event , then during the AfterBeanDiscovery event you simply iterate through the accumulated list.
I tested the modified version with Glassfisf 4.
I can send a Patch if you like.