Spring Boot 2.0.0 was officially released-major revision, spring2.0.0
On the morning of July 15, March 1, 2018, Beijing time, if a problem occurs when Spring Boot 2.0 is synced to the Maven repository, the v2.0.0.RELEASE released on GitHub is recalled. The problem has been fixed. Spring Boot 2.0 has been officially released and the Maven central repository address is provided.
Use 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.
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' }}
According to the official website, this version has been developed for 17 months and 215 different users have provided more than 6800 submissions. We are very grateful to all users who have contributed and to all early adopters who have provided important feedback to these milestone versions.
This is the first major revision since Spring Boot 1.0 was released four years ago. It is also the first stable GA version that provides support for Spring Framework 5.0.
Highlights of the new version:
Based on Java 8 and supports Java 9
Use Spring WebFlux/WebFlux. fn to provide responsive Web programming support
Supports embedded Netty
Tomcat, Undertow, and Jetty both Support HTTP/2
Support for Quartz Scheduler
Greatly simplifies automatic Security Configuration
The new actuator architecture supports Spring MVC, WebFlux, and Jersey.
Summary
The above is the major version of Spring Boot 2.0.0, which is introduced by Alibaba Cloud. I hope it will be helpful to you. If you have any questions, please leave a message, the editor will reply to you in a timely manner. Thank you very much for your support for the help House website!