DerInputStream.getLength(): lengthTag=111, too big

在<plugins>标签里头加一个<plugin>:

<plugin>
   <groupId>org.apache.maven.plugins</groupId>
   <artifactId>maven-resources-plugin</artifactId>
   <configuration><encoding>UTF-8</encoding>
      <!-- 过滤后缀为pem、pfx的证书文件 -->
      <nonFilteredFileExtensions>
         <nonFilteredFileExtension>cer</nonFilteredFileExtension>
         <nonFilteredFileExtension>pem</nonFilteredFileExtension>
         <nonFilteredFileExtension>pfx</nonFilteredFileExtension>
         <nonFilteredFileExtension>pkcs12</nonFilteredFileExtension>
         <nonFilteredFileExtension>p12</nonFilteredFileExtension>
         <nonFilteredFileExtension>jks</nonFilteredFileExtension>
      </nonFilteredFileExtensions>
   </configuration>
</plugin>

修改资源配置标签

<resources>
   <resource>
      <directory>src/main/resources</directory>
      <filtering>false</filtering>
   </resource>
</resources>

 

©️2020 CSDN 皮肤主题: 创作都市 设计师:CSDN官方博客 返回首页