查看是否配置文件中有以下配置: server.context-path=/hellopath我这里是以/hellopath为例,如果有该配置的话,只能通过该路径访问到。 其他原因 相关文章: 2021-05-16 2021-05-17 2022-01-18 2021-04-11 2021-05-29 2022-12-23 2021-05-04 2021-12-08