我正在使用 Spring boot 版本2.1.11spring-security-oauth2-autoconfigure
。在我的 中添加后pom.xml
。运行应用程序时出现以下错误。
"java.lang.SecurityException: class "org.bouncycastle.jcajce.provider.asymmetric.DSTU4145$Mappings"'s signer information does not match signer information of other classes in the same package"
Run Code Online (Sandbox Code Playgroud) 目前,我使用的是 Spring Boot 2.2.5 Release。文档看起来不完整。@EnableOAuth2Client
或的替代品是什么@EnableOAuth2Sso
。在此处输入图片说明