【发布时间】:2019-02-20 23:37:55
【问题描述】:
【问题讨论】:
-
您似乎遇到了网络问题(超时)我假设您在代理/防火墙后面?
-
你能把完整的 pom.xml 添加到这里吗?
【问题讨论】:
我认为问题在于您使用的是spring boot的快照版本,并且这些依赖项在maven Central上不可用,因此必须添加额外的存储库地址。
在 pom.xml 的 <project> 组件中添加以下 sn-ps
<repositories>
<repository>
<id>spring-snapshots</id>
<name>Spring Snapshots</name>
<url>https://repo.spring.io/snapshot</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<repository>
<id>spring-milestones</id>
<name>Spring Milestones</name>
<url>https://repo.spring.io/milestone</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
【讨论】: