Springboot项目启动--404
2020-03-14 本文已影响0人
我想专心学习
问题:localhost:8080,找不到index页面,或者其他Controller也访问不了
原因:war exploded的配置和部署有关
解决方法:
1.干掉重新添加

2.tomcat重新配置

一定注意Application context不要填东西。
重新启动项目,就能正常访问了。

问题:localhost:8080,找不到index页面,或者其他Controller也访问不了
原因:war exploded的配置和部署有关
解决方法:
1.干掉重新添加
2.tomcat重新配置
重新启动项目,就能正常访问了。