spring error during build

前端 未结 9 2190
独厮守ぢ
独厮守ぢ 2020-12-24 14:23

I have to make small website using spring. so i chose spring template project then new spring mvc project whatever i try there

9条回答
  •  心在旅途
    2020-12-24 15:05

    From my experience , invalid LOC header (bad signature) is most probably due to the downloaded .jar file is corrupt.

    If you have a slow internet connection , instead of deleting the whole Maven repository , you can try to delete the folder containing the problematic jar according to the hints of the errors message (i.e C:\Users\User01\.m2\repository\org\apache\maven\plugins\maven-war-plugin\2.1.1\) . Then use mvn clean install -U to download the dependencies again.

提交回复
热议问题