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

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

猜你喜欢

转载自blog.csdn.net/isFiyeheart/article/details/86294526