SpringBoot(七)-----查看配置报告

springboot中添加debug属性值,可以查看工程的配置报告,默认的debug属性值为false

debug=true
server.port=8082

#配置项目访问路径
server.context-path=/boot1

  启动Springboot项目,可以看到如下配置

 

posted @ 2020-04-08 08:29  leagueandlegends  阅读(272)  评论(0)    收藏  举报