Spring Boot 2.0.0 was officially released-major revision, spring2.0.0

Source: Internet
Author: User
Tags maven central

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!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.