首先要安装好Tomcat

然后在eclipse中添加Tomcat

步骤如下


 

详细可参考这篇博客https://blog.csdn.net/u014079773/article/details/51397850