Github上下载一个项目,导入eclipse时报错,因为spingboot与springcloud有对应关系,而我maven
用的阿里的镜像,阿里镜像上上关于Finchley.M9包不全,在stackoverflow上才找到解决办法
解决办法:setting.xml里面添加一个镜像即可(就是说重新下载Finchley.M9),然后Maven clean, Maven install即可
1 <!-- SpringCloud分布式所用--> 2 <mirror> 3 <id>repo</id> 4 <name>M9</name> 5 <url>https://repo.spring.io/milestone/</url> 6 <mirrorOf>central</mirrorOf> 7 </mirror>
该下载位置:https://repo.spring.io/milestone/org/springframework/cloud/spring-cloud-dependencies/Finchley.M9/
Stackoverflow:https://stackoverflow.com/questions/49773480/spring-cloud-dependencies-finchley-m9-cannot-be-resolved-on-maven