invalid LOC header (bad signature)

Asked on August 25, 2013
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project commonapp: Compilation failure
[ERROR] error: error reading .m2 epositoryorgspringframeworkspring-context-support3.1.0.RELEASEspring-context-support-3.1.0.RELEASE.jar; invalid LOC header (bad signature)
[ERROR] -> [Help 1]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1]

Replied on August 25, 2013
Generally this comes when jar is corrupt. In this case you need to delete the jar mentioned in the error  and run maven again to download.

Write Answer

©2023 | Privacy Policy | Contact Us