Importing Dynamic Web Project into Eclipse

前端 未结 5 762
独厮守ぢ
独厮守ぢ 2021-02-06 19:03

I\'ve been working on a dynamic web project in Eclipse. I have recently reInstalled my OS and I use a clean eclipse. I can import my web project, but when I try to lunch (run on

5条回答
  •  离开以前
    2021-02-06 19:29

    On the dialog before you get the "The selection cannot be run on any server" alert, in the upper right side it tells you why you can't add it to the selected server. For me, it was because my Tomcat 8.0 server couldn't run JRE 1.8 projects.

    I solved it by creating a new Tomcat 8.0 server, changing the runtime environment from Tomcat 8.0 to my 1.8 jre. Then I could run my project on the new server.

提交回复
热议问题