[]
        
(Showing Draft Content)

在项目引用中第三方库存在安全缺陷

错误表现

在依赖 GcExcel 时,你可能会看到如下的安全缺陷提醒。

image

限制原因

这是因为 GcExcel 依赖的第三方库 barcode4j 引用了 ant 1.7.1

https://central.sonatype.com/artifact/net.sf.barcode4j/barcode4j/dependencies

image

解决方法

您可以通过额外添加对 ant 的依赖来升级其版本。

ant repo url: https://central.sonatype.com/artifact/org.apache.ant/ant/1.10.14

image