升级到Spring Boot2,现在缺少@EnableOAuth2Sso注释,因为导入不正确。
我找到了一些关于这个问题的文档:https://github.com/spring-projects/spring-boot/issues/11032#issuecomment-372100443
但它没有说明用什么替换导入。谢谢!

发布于 2018-07-20 01:25:07
同样的问题,并发现您必须添加Spring Security OAuth2 AutoConfigure dependency。
https://stackoverflow.com/questions/51139642
复制相似问题