I am using Spring boot version 2.1.11.After adding the spring-security-oauth2-autoconfigure in my pom.xml.I am getting the following error while running the application.
"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"