2018年3月1日の朝、北京時間、Spring Boot 2.0がスケジュールされたときにリリースされ、Mavenリポジトリと同期する問題があり、GitHubでリリースされたV2.0.0.Releaseが撤回されました。問題は修正されており、Spring Boot 2.0の公式再リリースがあり、Maven Central Repositoryアドレスを提供します。
スプリングブート2.0.0 gaを使用します
メイベン
<parent> groupid> org.springframework.boot </groupid> <artifactid> spring-boot-starter-parent </artifactid> <バージョン> 2.0.0.Release </version> </parent> <deplency> depthency> <groupid> org.springframework.boot </groupid> <artifactid> spring-boot-starter-web </artifactid> </dependency> </dependencies>
等級
依存関係{compile( "org.springframework.boot:spring-boot-starter-web:2.0.0.release")}スプリングブート2.0.1は、スナップショットステータスとしてもマークされています
メイベン
<parent> <groupid> org.springframework.boot </groupid> <artifactid> spring-boot-starter-parent </artifactid> <バージョン> 2.0.1.build-snapshot </version> </parent> <deprencies> <seprodencyd> org.springframework.boot </groupid> <artifactid> spring-boot-starter-web </artifactid> </dependency> </dependencies> <repositories> <pository> <id> spring-snapshots </dame> spring snapshots </name> <url> https://repo.spring.io/libs-snapshot </url> <Enabled> true </enabled> </snapshots> </repository> </repositories>
等級
依存関係{compile( "org.springframework.boot:spring-boot-starter-web:2.0.1.build-snapshot")} repositories {url 'https://repo.spring.io/libs-snapshot'}}}当局は、このバージョンは17か月間開発中であり、215人の異なるユーザーが6,800を超える提出物を提供していると述べました。貢献したすべてのユーザーと、これらのマイルストーンバージョンに関する重要なフィードバックを提供してくれたすべてのアーリーアダプターに感謝します。
これは、Spring Boot 1.0が4年前にリリースされた最初の主要な改訂であり、Spring Framework 5.0をサポートする最初の安定したGAバージョンです。
新しいバージョンで注意を払う価値のあるハイライト:
Java 8に基づいて、Java 9をサポートします
Spring WebFlux/WebFlux.fnを使用して、レスポンシブWebプログラミングサポートを提供します
埋め込まれたNettyをサポートします
Tomcat、Undertow、JettyはすべてHTTP/2をサポートしています
クォーツスケジューラをサポートします
セキュリティ自動構成を大幅に簡素化します
Spring MVC、WebFlux、Jerseyをサポートする新しいアクチュエータアーキテクチャ
要約します
上記は、編集者が紹介したSpring Boot 2.0.0です。最後に、それは正式にリリースされました - 大きな改訂。それがあなたに役立つことを願っています。ご質問がある場合は、メッセージを残してください。編集者は時間内に返信します。 wulin.comのウェブサイトへのご支援ありがとうございます!