Quantcast
Channel: java.lang.NoClassDefFoundError: org/bouncycastle/asn1/ASN1Encodable - Stack Overflow
Viewing all articles
Browse latest Browse all 5

java.lang.NoClassDefFoundError: org/bouncycastle/asn1/ASN1Encodable

$
0
0

I use iText 5.5.0 and BouncyCastle bcprov-jdk15on-1.50 for digitally signing a pdf. It all works fine if I do not include a time stamp in the MakeSignature.signDetached method.

When I use the TSAClient specifying the TSAURL, my code gives me the error

java.lang.NoClassDefFoundError: org/bouncycastle/asn1/ASN1Encodable at MakeSignature.signDetached method

and my program gets terminated even though I handled exceptions.

I tried different versions of bouncycastle jars but I get the same error with difference in the classes not found.

I really need Timestamp included in the Signature. What should I do.


Viewing all articles
Browse latest Browse all 5

Latest Images

Trending Articles





Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>