post访问/refresh端口报错如下
{ "timestamp": 1537865395040, "status": 401, "error": "Unauthorized", "message": "Full authentication is required to access this resource.", "path": "/refresh" }
配置文件application.yml添加配置
management: security: enabled: false
解决