]
Rastislav Wagner commented on JBIDE-23861:
------------------------------------------
We cannot enable CDI support for Dynamic Web Project with CDI 1.0 dependency (carried by
JBoss AS 7.1) by default because you would end up with validation error about missing
beans.xml file (required by CDI 1.0, not required by CDI 1.1+ [Wildfly10]).
However we could enable CDI support when you create a beans.xml file for CDI1.0 project.
PR
CDI support is not enabled automatically with JBoss AS 7.1 runtime
------------------------------------------------------------------
Key: JBIDE-23861
URL:
https://issues.jboss.org/browse/JBIDE-23861
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: cdi
Affects Versions: 4.4.3.AM2
Environment: Devstudio AM2-v20170127-1155-B6970, Java 1.8.0_111-b15, JBoss AS
7.1.1.Final
Reporter: Lukáš Valach
Priority: Minor
Fix For: 4.5.x
Attachments: CdiSupport1.png, CdiSupport2.png
When I create a Dynamic Web Project or EJB Project the CDI support should be enabled
automatically. It works properly when I have JBoss EAP 7 or Wildfly 10 as target platform,
but it doesn't work with JBoss AS 7.1.
There is no error in the log, there is only warning in the problems view.
??JBoss Tools Knowledge Base probelm: Nature/Builder is not installed on project. Use
quick fix to enable %KB_REQUIRED_FOR_FACET and Faceted (test environment only) Content
Assistant and Validation.??