Eclipse: The selection did not contain any resource that can run on a server

前端 未结 5 2838
挽巷
挽巷 2021-02-20 13:23

I am not able to run maven java web application project to the configured tomcat within eclipse ide.

Initially I could right click on the project and run it on tomcat s

5条回答
  •  情歌与酒
    2021-02-20 13:35

    I faced this issue recently in STS
    After following below steps error disappeared .

    1. Check default JRE version configured in IDE and check JRE System Library version showing in project
    2. If versions are different ,make them same first .
    3. Now right click on Project and select properties .
    4. Select on Project facets and choose Dynamic Web Module
    5. Refresh the Project.

提交回复
热议问题