maven - 使用 maven install 目标下载 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>"
在这两种情况下都会出现相同的错误。
解决方案
推荐阅读
- debugging - 我可以在 vscode 上捕获断点事件吗?
- flutter - Flutter 通过向右或向左滑动来管理 Offset 的 dx
- php - 我在使用 codeintor 中的代码创建表时遇到了问题
- sql-server - 调试期间 SQL Server 远程服务器超时(在 IIS Express 上运行)
- node.js - 如何在 Node.js 中收听分离的未引用生成的子进程的标准输出?
- arrays - 带有数组的冒号运算符的奇怪行为
- c# - 如何从 .csproj 文件中获取引用?
- angular - 测试 Angular 材质数据源排序
- c++ - ceil、floor 和 round 转换为整数时会遇到精度损失问题吗?
- javascript - 运行 Promise 时如何更新 VUE 元素