在Eclipse里面配置好Tomcat服务器后,start server成功后,在浏览器输入http://localhost:8080/, 出现404错误,无法看到正常的tomcat页面。主要原因是eclipse里面的tomcat server配置问题,在server的 overview里面的server locations,选择下面的选项:
Use Tomcat installation (takes control of Tomcat installation)
参考资料如下:
If I start my Tomcat server and try to display Tomcat's default page, why do I see a directory listing or 404 error page?
When creating Tomcat servers in WTP, the default is for the Tomcat server to use a separate instance from the Tomcat installation for reasons explained in this question . There is no attempt to serve t