Eclipse Mars: Archive for required library: <JAR-file-Path> in project <My-Project-name> [message #1705517] |
Mon, 17 August 2015 06:47  |
Eclipse User |
|
|
|
Hi,
I am unable to build my project's WAR. It uses embedded Maven v.3.2.5. The project was getting build without any issues a few days back and then it stopped suddenly. In Maven console it gives this error- [WARN] The POM for <Name-of-JAR> is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
In Problems tab it shows following message-
Archive for required library: <JAR-file-Path> in project <My-Project-name> cannot be read or is not a valid ZIP file .
When I tried to open the JAR file from the .m2 repository, it says that the JAR is corrupted. I also noticed that the SHA1 files are created but their names end up with .
I would really appreciate any help to resolve the issue. I tried closing and opening the project and Eclipse itself several times. Also tried to Maven > Update Project (force dependencies). Tried to clean install as well. But nothing seems to work.
Let me know if more information is required.
Versions:
Eclipse Mars
Maven 3.2.5
JDK 7
Windows 7 (32-Bit)
System JRE- 8
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03262 seconds