Unable to associate project with a runtime server in eclipse IDE

前端 未结 4 756
孤街浪徒
孤街浪徒 2021-02-02 16:50

\"enterI had created a dynamic web project. AS of now it has a jsp file which am trying to run. Wh

4条回答
  •  情深已故
    2021-02-02 17:05

    This is what worked for me. I'm just posting my method because it might help somebody else.

    1. Right-click on project
    2. Click on Properties
    3. Go to Project Facets
    4. Uncheck Dynamic Web Module checkbox
    5. Click on Runtimes in the tabs on the right. Apache Tomcat vX.x should be available now
    6. Check Apache Tomcat vX.x
    7. Click Apply and Close
    8. Repeat the previous steps 1-3
    9. Check Dynamic Web Module checkbox
    10. Apache Tomcat vX.x under Runtimes should still be enabled
    11. Click Apply and Close

提交回复
热议问题