错误描述
[ERROR] Could not create local repository at C:\Users\root\.m2\repository -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/LocalRepositoryNotAccessibleException
Process finished with exit code 1
解决方案
设置好“settings.xml”的路径即可。
之所以写出来,是因为没有仔细看错误描述,一直都很自信的认为自己的MAVEN是没问题的,一直再刷新IDEA和MAVEN,O(∩_∩)O哈哈~。