java - Spring boot 在pom.xml有个错误
PHP中文网
PHP中文网 2017-04-18 09:52:46
0
1
275

PHP中文网
PHP中文网

认证高级PHP讲师

reply all(1)
阿神

Because this is SNAPSHOT, maven’s central warehouse does not have it, so you have to add spring’s maven warehouse

<parent>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-parent</artifactId>
    <version>1.4.1.BUILD-SNAPSHOT</version>
</parent>

<repositories>
    <repository>
        <id>spring-snapshots</id>
        <name>Spring Snapshots</name>
        <url>https://repo.spring.io/libs-snapshot</url>
        <snapshots>
            <enabled>true</enabled>
        </snapshots>
    </repository>
</repositories>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template