Maven : error in opening zip file when running maven

后端 未结 17 2167
-上瘾入骨i
-上瘾入骨i 2020-11-29 03:28
[ERROR] error: error reading C:\\Users\\suresh\\.m2\\repository\\org\\jdom\\jdom\\1.1\\jdom-1.1.jar; error in opening zip file
[ERROR] error: error reading C:\\Users         


        
17条回答
  •  遥遥无期
    2020-11-29 03:44

    For me I should change the .m2 repo in the settings.xml file with another one because in Mac maven can't create a folder that start with point(.)

    to solve that, open your maven/version/conf/settings.xml and specify the location of your repo folder like this :

    ../repo
    

    don't forget to change it also in your IDE, in eclipse go to : Windows > Preferences > Maven > User Settings > Global Settings, and navigate to your settings.xml.

    clean install your project.

    hope this will help you.

提交回复
热议问题