Create a new maven project using the jboss-javaee6-webapp archetype fails with the following error :
One or more constraints have not been satisfied. Constraints for CDI (Contexts and Dependency Injection) 1.0 have not been met.
The CDI Facet depends on the Web Module OR the EJB Module Facet. The CDI configurator is declared as secondary to the Java configurator AND the wtp configurator. So it's called BEFORE the WTP configurator, which is responsible for adding the Web or EJB facets.
It needs to try adding the CDI facet only if Web or EJB is already configured, instead of just logging an exception.
- is duplicated by
-
JBIDE-9083 Unsatisfied CDI constraint when importing J2EE maven project
- Closed