在发行说明中没有提到工件被删除(Spring存储库中存在2.1.0.RC1)
它是一个单独的依赖项
<!-- https://mvnrepository.com/artifact/org.springframework.security.oauth.boot/spring-security-oauth2-autoconfigure -->
<dependency>
<groupId>org.springframework.security.oauth.boot</groupId>
<artifactId>spring-security-oauth2-autoconfigure</artifactId>
<version>2.0.6.RELEASE</version>
</dependency>
直接在父类添加即可
报错Cannot resolve org.springframework.security.oauth.boot:spring-security-oauth2-autoconfigure:2.1.0.M4也同理