application.properties配置文件问题

application.properties配置文件名称的第一个字母不能为大写,可能在开发环境中没有问题,但是打包运行的时候会出现问题

uri配置问题
属性文件配置了context-path,访问的时候,要在端口后面添加consumer,http://localhost:9000/consumer/user/list

server:
  port: 9000
  context-path: /consumer