tomcat启动后,无法访问,报404

1.确认端口号有没有被占用。

    cmd下>netstat -aon|findstr 8080

2.检查webapps/ROOT文件夹里没有index.html因为在conf文件夹的web.xml文件中默认的欢迎界面就是ROOT中的index.html。

猜你喜欢

转载自www.cnblogs.com/shenminer/p/9048448.html