今天设置了一个idea的maven 后pomm文件一直爆红,依赖无法下载,网上找了很多方法依旧无法解决:如图
pom也重新刷新,重新下载就是下载不了

解决方案 »

  1.   

    <!-- https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-parent -->
    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-parent</artifactId>
        <version>1.5.8.RELEASE</version>
        <type>pom</type>
    </dependency>
      

  2.   

    或者直接去网上maven的库里,把这个下载,拷贝到本地库里去。
      

  3.   

    <repositories>
    <repository>
    <id>ali</id>
    <url>http://maven.aliyun.com/nexus/content/groups/public</url>
    </repository>
    </repositories>
    在pom.xml中配置下这个试试