spring boot 引入 oauth2.0 后报错:
implementation 'org.springframework.security.oauth:spring-security-oauth2'
eclipse报错:
Could not resolve: org.springframework.security.oauth:spring-security-oauth2
idea报错:
Unable to resolve org.springframework.security.oauth:spring-security-oauth2
解决方法,增加版本号:2.2.0.RC1
implementation 'org.springframework.security.oauth:spring-security-oauth2:2.2.0.RC1'
其他版本号可参考maven仓库
https://mvnrepository.com/artifact/org.springframework.security.oauth/spring-security-oauth2