I am new to Java and stuck with a problem. The below exception caused in the runtime in my spring boot application.
java.lang.NoSuchFieldError: qTESLA
at org.bouncycastle.pqc.asn1.PQCObjectIdentifiers.<clinit>(Unknown Source)
at org.bouncycastle.jce.provider.BouncyCastleProvider.loadPQCKeys(Unknown Source)
at org.bouncycastle.jce.provider.BouncyCastleProvider.setup(Unknown Source)
at org.bouncycastle.jce.provider.BouncyCastleProvider.access$000(Unknown Source)
at org.bouncycastle.jce.provider.BouncyCastleProvider$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at org.bouncycastle.jce.provider.BouncyCastleProvider.<init>(Unknown Source)
This application is actually running in AWS inside a docker container. I noticed that to solve this runtime error, I need to add two jar files in the classpath. The jars are download from oracle site http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html
Question is how to add these to classpath and commit my changes to git. When I add this classpath via IntelliJ IDE -> Command+; (macos) it is not reflecting in my git diff
. What am I missing here ? Kindly help.