I am encrypting and decrypting a file with public and private keys. I see batch runs is smooth in development environment, but it throws run time exception in other environments like staging and production
NoClassDefFoundError: org/bouncyCastle/openPgp/operator/KeyFingerPrintCalulator
I have following jars in Classpath:
bcpg-jdk15on-1.67.jar bcprov-jdk15on-1.67.jar bcpg-jdk16-1.45.jar bcprov-jdk16-1.45.jar bcpg-lw-jdk14-1.59.jar bcprov-lw-jdk14-1.59.jar pgplib-3.2.1.jar
I work in JDK 1.8
1.4m articles
1.4m replys
5 comments
57.0k users