【发布时间】:2020-02-19 14:56:15
【问题描述】:
Could not resolve archetype org.apache.maven.archetypes:maven-archetype-quickstart:1.1 from any of the configured repositories.
Could not resolve artifact org.apache.maven.archetypes:maven-archetype-quickstart:pom:1.1
Could not transfer artifact org.apache.maven.archetypes:maven-archetype-quickstart:pom:1.1 from/to central (https://repo.maven.apache.org/maven2): connect timed out
Could not transfer artifact org.apache.maven.archetypes:maven-archetype-quickstart:pom:1.1 from/to central (https://repo.maven.apache.org/maven2): connect timed out
我已经配置了 settings.xml,我已经将 maven 安装到了 eclipse 中,我也配置了 jdk,但无法解决问题,我还添加了远程目录,http://repo1.maven.org/maven2/archetype-catalog.xml 作为 calalog 文件,但面临同样的问题。
【问题讨论】:
-
尝试构建您的问题,例如:1)您要做什么(我正在尝试创建一个新的 maven 项目)。 2)你做了什么(我运行了命令
x y z...)。 3)出了什么问题(我收到了这个错误:...)。 4)格式化你的代码插入。
标签: spring eclipse maven maven-archetype