maven install throw “error in opening zip file” only after the second try

后端 未结 4 1593
囚心锁ツ
囚心锁ツ 2021-02-15 14:40

I try to run maven install on my project with some dependencies:


    log4j
    log4j         


        
4条回答
  •  旧时难觅i
    2021-02-15 15:02

    step1.

    Clean your .m2\repository or delete your specific folders from the .m2\repository directory

    step2.

    run mvn clean install

    step3.

    be sure that your internet connection is working fine at the time of running this command, some times it fails due to connection problems.

提交回复
热议问题