springboot本地debug,提示授权 springboot默认是启动了security验证的,只需要在application.ylm里加一句: security: basic: enabled: false