eclipse中启动tomcat,在浏览器里面访问不了主页,但是直接在外面启动tomcat的话就可以,原因是没有在eclipse中设置tomcat的server location位置设置为tomcat的安装位置