Springboot正常启动,但是访问404报错

原因:

查看是否配置文件中有以下配置:

server.context-path=/hellopath

我这里是以/hellopath为例,如果有该配置的话,只能通过该路径访问到。

 

其他原因

posted @ 2017-12-27 16:22  萌新啊萌新是我  阅读(3956)  评论(0编辑  收藏  举报