Maven工程中提示:Archive for required library...cannot be read or is not a valid ZIP file

本文介绍了一种解决Maven项目中出现的依赖错误的方法。具体步骤包括:进入提示信息中提到的目录,如果确认jar文件存在,则删除整个发布目录;返回项目,右键点击Maven->UpdateProject,问题即可消失。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Problem Description

I create maven project in Eclipse. Then I got some problems in Markers tab:

Solution

1. Enter the directory mentioned in the prompt

2. If the jar file is surely existed, then delete the whole release directory, such as .../apacha-maven/maven-repo/org/apache/httpcomponents/httpclient/4.5.5

3. Back to the project, right click

  • Maven -> Update Project

4. Problem disappears

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值