On the morning of March 1, 2018, Beijing time, Spring Boot 2.0 released as scheduled had problems synchronizing to the Maven repository, resulting in the v2.0.0.RELEASE released on GitHub being withdrawn. The problem has been fixed, and the official re-release of Spring Boot 2.0 and provides the Maven central repository address.
Using Spring Boot 2.0.0 GA
Maven
<parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.0.0.RELEASE</version></parent><dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency></dependencies>
Gradle
dependencies { compile("org.springframework.boot:spring-boot-starter-web:2.0.0.RELEASE")}Spring Boot 2.0.1 is also marked as SNAPSHOT status
Maven
<parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.0.1.BUILD-SNAPSHOT</version></parent><dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency></dependencies><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>
Gradle
dependencies { compile("org.springframework.boot:spring-boot-starter-web:2.0.1.BUILD-SNAPSHOT")}repositories { maven { url 'https://repo.spring.io/libs-snapshot' }}Officials said the version has been in development for 17 months and has 215 different users provided more than 6,800 submissions. Thank you very much to every user who contributed, and to all the early adopters who provided important feedback on these milestone versions.
This is the first major revision since Spring Boot 1.0 was released 4 years ago and the first stable GA version to provide support for Spring Framework 5.0.
Highlights worth paying attention to in the new version:
Based on Java 8, support Java 9
Provide responsive Web programming support using Spring WebFlux/WebFlux.fn
Supports embedded Netty
Tomcat, Undertow and Jetty all support HTTP/2
Support Quartz scheduler
Greatly simplifies security automatic configuration
New actuator architecture, supporting Spring MVC, WebFlux and Jersey
Summarize
The above is the Spring Boot 2.0.0 introduced to you by the editor. Finally, it has been officially released - a major revision. I hope it will be helpful to you. If you have any questions, please leave me a message and the editor will reply to you in time. Thank you very much for your support to Wulin.com website!