plate-extracte-1.0.8-jar.jar这个jar包里面的bouncycastle有问题
IDEA里在project structure里面用modules的形式导入这个jar包没有问题
但是用maven导入就会报你这个错
使用maven导入的话要多导一个bouncycastle,而且位置要在plate-extracte前面
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcpkix-jdk15on</artifactId>
<version>1.60</version>
</dependency>
<dependency>
<groupId>com.alipay.mychain</groupId>
<artifactId>gov-sdk</artifactId>
<version>2.0.0.20220708</version>
<scope>system</scope>
<systemPath>${basedir}/lib/gov-sdk-2.0.0.20220708-jar-with-dependencies.jar</systemPath>
</dependency>
<dependency>
<groupId>com</groupId>
<artifactId>plate-extracte</artifactId>
<version>1.0.8</version>
<scope>system</scope>
<systemPath>${project.basedir}/lib/plate-extracte-1.0.8-jar.jar</systemPath>
</dependency>
|