小编Sam*_*nta的帖子

org.bouncycastle.jcajce.provider.asymmetry.DSTU4145$Mappings 类的 SecurityException

我正在使用 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)

java spring oauth-2.0 spring-boot

6
推荐指数
1
解决办法
3471
查看次数

EnableOAuth2Client 已弃用

目前,我使用的是 Spring Boot 2.2.5 Release。文档看起来不完整。@EnableOAuth2Client或的替代品是什么@EnableOAuth2Sso在此处输入图片说明

java spring spring-boot spring-security-oauth2

0
推荐指数
1
解决办法
1991
查看次数