老师,这么晚打扰了,明天再回答也可以。

来源:5-4 搭建Springboot分层项目

精慕门618366

2019-10-26

创建子moudle之后,pom报错?不知道为什么,重新创建也会报错

报错信息:

Failure to transfer org.apache.maven.plugins:maven-surefire-plugin:pom:2.18.1 from https://repo.maven.apache.org/maven2 was 

 cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are 

 forced. Original error: Could not transfer artifact org.apache.maven.plugins:maven-surefire-plugin:pom:2.18.1 from/to central (https://

 repo.maven.apache.org/maven2): The operation was cancelled.

http://img.mukewang.com/szimg/5db46b790938993115020442.jpg

写回答

2回答

精慕门618366

提问者

2019-10-27

//img.mukewang.com/szimg/5db4700709c9e66009850279.jpg

是将这个lib下的全部删除吗



0
5
风间影月
回复
精慕门618366
我还是那句话,尽量多在群里问。沟通效率胜过这里一百倍的哈
2019-10-27
共5条回复

风间影月

2019-10-27

Maven有问题。把本地的maven依赖都删了。然后换阿里云的镜像,再试试

0
3
风间影月
回复
精慕门618366
我提个建议,如果没有接触过maven。建议先学习一下,这个是很重要的一个基础
2019-10-27
共3条回复

Spring Boot短视频小程序开发 全栈式实战项目

一门课程带你搞定短视频小程序全栈开发,毕业设计之利器!

2613 学习 · 1952 问题

查看课程