Search code examples
javaeclipsejakarta-eecdilinux-mint

Dynamic Web Project - Project Facets not displaying CDI as a project facet


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:

enter image description here

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:

intalled jres

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: enter image description here


Solution

  • 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)

    JBoss tools in eclipse marketplace

    Then select plugin you need

    Plugin need

    UPD

    And also check Runtime Environments (window -> preferences)

    enter image description here enter image description here

    Eclipse should be restarted after installation