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

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

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


    log4j
    log4j         


        
4条回答
  •  花落未央
    2021-02-15 15:09

    It seems to be due to an incorrect connection url in your maven plugin. I was using a vpn connection earlier and hence, it had initialized it with that url which was not valid anymore.

    rm -rf {PATH to .m2}/repository/org/apache/maven/plugins/

    This should fix it

提交回复
热议问题