原因:eclipse将tomcat的项目发布目录(tomcat 目录中的webapp)重定向了,所以你会发现在tomcat安装目录下的webapp目录里面找不到你的项目文件。
解决方法:
重新配置下tomcat服务器,
1.选择Use tomcat installation(Task control of Tomcat installation) 即选择tomcat的安装目录来作为项目的发布目录。
2.将Deploy Path的默认值"wtpwebapps"改成"webapps"。
解决访问 http://localhost:8080/ 报404错误问题

相关文章:

  • 2022-12-23
  • 2022-01-22
  • 2021-06-09
  • 2021-08-31
  • 2021-12-27
  • 2021-04-19
  • 2021-12-28
  • 2021-10-21
猜你喜欢
  • 2021-08-24
  • 2022-12-23
  • 2021-07-19
  • 2021-05-29
  • 2022-02-26
  • 2021-09-11
相关资源
相似解决方案