Skip to content

Tag: bouncycastle

java.lang.NoSuchMethodError: org.bouncycastle.asn1.x509.GeneralName.getDERObject()

I have done migrating project from itext2.1.7.jar to itext5.5.13.jar but While testing the pdf which are having signatures am getting the below error: java.lang.NoSuchMethodError: org.bouncycastle.asn1.x509.GeneralName.getDERObject() This is the method where I am getting error: In my class path I have placed: 1.bcprov-jdk15on-1.49.jar 2.bcpkix-jdk15on-1.49.jar 3.itextpdf-5.5.13.jar BouncyCastle libs I have added according the pom.xml which I got while downloading itextpdf. This project