I am trying to add a CD, I am as a project facet in a dynamic web project. But when you click on the project facet view in the Facet Facet list there is no CDI parameter, as you can see :

I tried following this suggestion , in which they said, to erase possible conflicting jres, as well as the suggestions here, which recommends checking the installed jre, in my opinion on the installed jres:

I am on linux mint, so I also attach a screenshot of the dir / usr / lib / jvm file if you guys see some kind of anomaly in it, and it looks like my version of java is fine:

source