0503-Tomcat-localhost8080出现404错误

问题背景:
Java web可以正常访问页面
但是tomcat的首页出现404错误

这是server location的原因
https://stackoverflow.com/questions/16340711/tomcat-http-status-404

a.右键server--properties---此时是worspace metedata,点击switch location
自动切换到tomcat的安装目录
b.双击server--修改server locations---use tomcat installation


-----------------------解决---------------------

猜你喜欢

转载自blog.csdn.net/lee_ham/article/details/80183520