Import 1.5.9 parent given SpringBoot

 

Solved using <relativePath />   

relativePath element in the address - the local warehouse - remote repository
<RelativePath /> will always be set to a null value acquired from the warehouse, not from a local path

 

 

   <parent>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-parent</artifactId>
        <version>1.5.9.RELEASE</version>
        <relativePath/> <!-- lookup parent from repository -->
    </parent>
    <dependencies>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter</artifactId>
            <version>1.5.9.RELEASE</version>
        </dependency>
    </dependencies>

Guess you like

Origin www.cnblogs.com/wf-zhang/p/12154837.html