How to use Tomcat 8 in Eclipse?

后端 未结 11 927
广开言路
广开言路 2020-11-29 01:02

EDIT 2014-02-07: Eclipse Luna is here, and support for Tomcat 8 is included in the bundled WTP : ) Happy days!

Tomcat 8 is still in development, but

11条回答
  •  旧时难觅i
    2020-11-29 01:54

    In addition to @Jason's answer I had to do a bit more to get my app to run.

    • Download & unzip Eclipse IDE for Java EE Developers (Note the EE edition)
    • Download & unzip Eclipse's Web Tools Platform Stable (Milestone) 3.6+
    • Overwrite the two folders in the Eclipse IDE, with the WTP folder(s) (features & plugins folders)
    • Download and unzip Tomcat 8
    • In eclipse new -> other -> server -> Tomcat 8 (choose the unzipped location)
    • If you get a 404, click the Tomcat 8 in the Servers view -> Server Locations -> Change to Use Tomcat installation, and change the Deploy path: to webapps * (If you can't edit this, delete any published webapps)

提交回复
热议问题