hibernate-commons-annotations-4.0.1.Final.jar; invalid LOC header (bad signature)?

This looks like a problem of corrupt jars being downloaded. I have seen this happen only when I use eclipse. Here’s what I did to get rid of this problem:

  • Delete contents from C:\Users\Bhanu.m2\repository. Either everything or selectively – your choice.
  • Then use the command prompt to force download jars and build

    mvn clean install
    

Leave a Comment