itext7 java.lang.NoClassDefFoundError: org.bouncycastle.asn1.esf.SignaturePolicyIdentifier
itext7 java.lang.NoClassDefFoundError: org.bouncycastle.asn1.esf.SignaturePolicyIdentifier
我想在Android Studio
中使用iText7
,我将这个模块添加到build.gradle
中。
compile 'com.itextpdf:io:7.0.4'
compile 'com.itextpdf:kernel:7.0.4'
compile 'com.itextpdf:layout:7.0.4'
compile 'com.itextpdf:sign:7.0.4'
但是关于 PDFSigner
的源代码看起来是这样的:
然后我收到以下 错误 消息:
有人可以帮忙吗?谢谢。
嗯,我去LATEST JAVA RELEASES下载名为bcprov-jdk15on-158.jar的文件来解决这个问题。
我想在Android Studio
中使用iText7
,我将这个模块添加到build.gradle
中。
compile 'com.itextpdf:io:7.0.4'
compile 'com.itextpdf:kernel:7.0.4'
compile 'com.itextpdf:layout:7.0.4'
compile 'com.itextpdf:sign:7.0.4'
但是关于 PDFSigner
的源代码看起来是这样的:
然后我收到以下 错误 消息:
有人可以帮忙吗?谢谢。
嗯,我去LATEST JAVA RELEASES下载名为bcprov-jdk15on-158.jar的文件来解决这个问题。