7
Patrząc na wiosennym Boot tutaj:Szybkie uruchamianie Spring Boot nie istnieje w repozytorium maven?
http://projects.spring.io/spring-boot/#quick-start
Wydaje się, że "Szybki start", mówi na to:
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>1.0.1.RELEASE</version>
</parent>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
</dependencies>
Oto moje aktualne repozytoria:
<repositories>
<repository>
<id>spring-milestones</id>
<url>http://repo.spring.io/milestone</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>spring-milestones</id>
<url>http://repo.spring.io/milestone</url>
</pluginRepository>
</pluginRepositories>
I uzyskać wyjątek przekroczenia limitu czasu połączenia i kiedy faktycznie patrzę na repozytorium ...
http://repo.spring.io/milestone/org/springframework/boot/spring-boot-starter-parent/
Nie ma wersji 1.0.1! Czy istnieje inne repozytorium, które powinien zawierać plik pom.xml?
Błąd:
Project build error: Non-resolvable parent POM: Failure to transfer org.springframework.boot:spring-boot-starter-parent:pom:1.0.0.RC5 from http://repo.spring.io/
milestone was cached in the local repository, resolution will not be reattempted until the update interval of spring-milestones has elapsed or updates are forced.
Original error: Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:1.0.0.RC5 from/to spring-milestones (http://repo.spring.io/
milestone): connection timed out to http://repo.spring.io/milestone/org/springframework/boot/spring-boot-starter-parent/1.0.0.RC5/spring-boot-starter-
parent-1.0.0.RC5.pom and 'parent.relativePath' points at wrong local POM
To naprawdę nie jest to konieczne dla większości ludzi (Central jest zawsze na ścieżce repozytorium, chyba że ktoś potrząsnął twoją instalacją Mavena). –
@Daj tak, to nie jest wymagane domyślnie, chyba że masz coś spersonalizowanego w 'settings.xml' –