springboot创建后无法打开
来源:2-2 新建SpringBoot项目【标准SpringBoot项目目录结构】

emma0815
2021-09-08
点开local地址http://127.0.0.1:8080 后显示:
Whitelabel Error Page
This application has no explicit mapping for /error, so you are seeing this as a fallback.
Tue Sep 07 16:11:23 EDT 2021
There was an unexpected error (type=Not Found, status=404)
=====================================================
disable了这个error之后logging出现了 Circular view path [error]: would dispatch back to the current handler URL [/error] again 的错误
而且网页是404
写回答
1回答
-
甲蛙
2021-09-09
因为后端服务本来就没有开放http://127.0.0.1:8080 这样一个接口地址,访问当然是404,这是启动后的服务器地址,并没有这样一个接口。
你为什么要去访问呢?我课程没去访问过吧
012022-06-30
相似问题