![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
maven
施主不要
这个作者很懒,什么都没留下…
展开
-
Downloading: http://repo.maven.apache……The build could not read 1 project -> [Help 1]maven下载和运行命令的错误
本以为在setting.xml里配置好了下载源路径,可是运行maven命令的时候还是会报错,无论在terminal还是Excute maven goal(idea的斜M标志)里,都会报错,很烦。很久很久一直,神坑!!!!!!!!!!解决办法如下:在项目pom.xml里加上以下配置:(url为你自定义的下载源)<!--当maven项目需要下载一些metadata、pom、jar的时候,会优先去中央仓库下载,导致内网用户各种报错!--> <repositories>原创 2021-01-15 16:43:51 · 1040 阅读 · 0 评论 -
maven项目打jar包的时候报错:Failed to execute goal on project xxxx: Could not resolve dependencies for project
maven项目要打包成jar部署到服务器上的时候报类似的错:Failed to execute goal on project xxxx: Could not resolve dependencies for project xxxxxx:xxx:jar:0.0.1-SNAPSHOT: Cannot access central (https://xxxxxx) in offline mode ...原创 2018-09-28 18:30:04 · 46815 阅读 · 4 评论