I'm trying to add CD,I as a project facet to a Dynamic web project. But when clicking on the project facets view there is no CDI option in the Project Facet list as you can see:
I tried following this suggestion in where they said to erase possible conflicting jres, and also the suggestions in here which recommends checking the installed jre's, my view of installed jres is:
I'm at linux mint so I'm also attaching a screenshot of the dir /usr/lib/jvm, in case you guys see any anomaly in it and also it seems my java version is okay:
In the Project Explorer view of the Java™ EE perspective, right-click the project and then select Properties. Select the Project Facets page in the in the Properties window. This page lists the facets in the project and their versions.
To edit a project's facets, select Project > Properties > Project Facets. Facets have version numbers. Not all facet version numbers can be changed (e.g., a facet available in only one version of software can not have other version numbers).
Facets define characteristics and requirements for Java™ EE projects and are used as part of the runtime configuration. When you add a facet to a project, that project is configured to perform a certain task, fulfill certain requirements, or have certain characteristics.
Did you installed JBoss Tools?
Go to Help -> Eclipse Marketplace find JBoss Tools for your version of Eclipse (To check version of eclipse go to Help -> About Eclipse)
Then select plugin you need
UPD
And also check Runtime Environments (window -> preferences)
Eclipse should be restarted after installation
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With