Spring Boot 3.1 Compatibility?
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- java, spring-boot
調査の方向性
まず spring-cloud-starter-consul と spring-cloud-commons の Maven 依存関係ツリーを調べ、報告された失敗から CompatibilityVerifierAutoConfiguration と CompositeCompatibilityVerifier を読み取ります。Spring Boot 3.1.1 と Spring Cloud 2022.0.3 でセットアップを再現します。対応している依存関係の組み合わせが compatibility-verifier の失敗なしに起動すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Describe the bug
Spring Cloud Version: 2022.0.3
I am using spring-cloud-starter-consul-discovery (via maven bom 2022.0.3) alongside with Spring Boot 3.1.1, but I'm getting the following error:
2023-07-17T14:26:52.454+01:00 WARN 83218 --- [ main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'compositeCompatibilityVerifier' defined in class path resource [org/springframework/cloud/configuration/CompatibilityVerifierAutoConfiguration.class]: Failed to instantiate [org.springframework.cloud.configuration.CompositeCompatibilityVerifier]: Factory method 'compositeCompatibilityVerifier' threw exception with message: Spring Cloud/ Spring Boot version compatibility checks have failed: [[VerificationResult@1f6f0fe2 description = 'Spring Boot [3.1.1] is not compatible with this Spring Cloud release train', action = 'Change Spring Boot version to one of the following versions [3.0.x] .
You can find the latest Spring Boot versions here [https://spring.io/projects/spring-boot#learn].
If you want to learn more about the Spring Cloud Release train compatibility, you can visit this page [https://spring.io/projects/spring-cloud#overview] and check the [Release Trains] section.
If you want to disable this check, just set the property [spring.cloud.compatibility-verifier.enabled=false]']]
According to this blog post, Spring Cloud 2022.0.3 should be compatible with Spring Boot 3.1.x https://spring.io/blog/2023/05/25/spring-cloud-2022-0-3-aka-kilburn-is-available
I was looking at the dependency tree, seems that spring-cloud-starter-consul is fetching an older version of spring-cloud-commons, which isn't compatible with Spring Boot 3.1.x
https://mvnrepository.com/artifact/org.springframework.cloud/spring-cloud-starter-consul/4.0.2
https://github.com/spring-cloud/spring-cloud-commons/commit/a2cc42614c60de7b05100741d13fcf93f32c3849
- 主要言語
- Java
- スター
- 821
- フォーク
- 540
- 平均マージ
- 14時間 22分
- マージ済み PR(30日)
- 16
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
spring-cloud/spring-cloud-consul のほかの issue
-
waiting-for-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
spring-cloud/spring-cloud-consul#984 ·
メンテナーはふだん 1 日以内に返信
-
waiting-for-triage
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
spring-cloud/spring-cloud-consul#996 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Migrating from Spring boot 3.5.11 to 4.0.3 : reregister-service-on-failure not working anymore対応中かも @yashdotdev13 が 7 日前に担当しました。 オープンwaiting-for-triage
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
spring-cloud/spring-cloud-consul#954 · コメント 1 件 · リアクション 5 件 ·
メンテナーはふだん 1 日以内に返信
-
waiting-for-triage
難易度 3/5 1〜2日 初心者へのやさしさ 52/100
spring-cloud/spring-cloud-consul#951 · コメント 4 件 ·
メンテナーはふだん 1 日以内に返信
-
waiting-for-triage
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
spring-cloud/spring-cloud-consul#950 · コメント 4 件 ·
メンテナーはふだん 1 日以内に返信
spring-cloud/spring-cloud-consul の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
breaking change bug needs human review not ready priority medium size S
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
martin-francois/symphony-trello#1193 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
Mend: dependency security vulnerability
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100