使用 maven 安装目标下载 hamcrest-core-1.2.1.jar 时无效的 LOC 标头错误签名

问题描述

错误片段:“.m2\repository\org\hamcrest\hamcrest-core\1.2.1\hamcrest-core-1.2.1.jar;无效的 LOC 标头(错误签名)”

使用 maven 安装目标下载 hamcrest-core-1.2.1.jar 时无效的 LOC 标头(错误签名)

Maven 依赖:

尝试过:

"<dependency>
  <groupId>org.hamcrest</groupId>
  <artifactId>hamcrest-core</artifactId>
  <scope>compile</scope>
</dependency>"

"<dependency>
  <groupId>org.hamcrest</groupId>
  <artifactId>hamcrest-core</artifactId>
  <scope>test</scope>
</dependency>"

在这两种情况下都得到相同的错误

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)