认证高级PHP讲师
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>
Because this is SNAPSHOT, maven’s central warehouse does not have it, so you have to add spring’s maven warehouse