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

前端 未结 5 2861
挽巷
挽巷 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:42

    PROBLEM

    When you try to run the project on the server using "Run on Server" (SA+X+R) option, eclipse returns the following message: The selection did not contain any resources that can run on a server.

    SOLUTION

    On the navigation panel, click over the project for pop-up menu, properties, Project Facets, check: - Dynamic Web Module - Java It worked for me try this may be this is your problem

提交回复
热议问题