簡體   English   中英

Google Spring Cloud GCP 是否與 spring boot 3.0.0 兼容?

[英]Is Google Spring Cloud GCP compatible with spring boot 3.0.0?

我正在使用 Google Spring Cloud GCP 並在嘗試將 spring 引導 2.xx 升級到 3.xx 后出現錯誤

描述:

x.MyService 中構造函數的參數 2 需要類型為“com.google.cloud:spring-cloud-gcp-starter-vision.CloudVisionTemplate”的 bean,但找不到。

行動:

考慮在您的配置中定義類型為“com.google.cloud:spring-cloud-gcp-starter-vision.CloudVisionTemplate”的 bean。

我在 spring 引導 2.7.x 上沒有遇到這個問題。 我找到了這張表(鏈接如下),所以我的理解是最新的 Google Spring Cloud 與 Spring Boot 3.xx 不兼容 只是想知道是否還有其他人遇到同樣的問題?

與 Spring 項目版本的兼容性

根據https://spring.io/projects/spring-cloud

Spring Cloud 2022.0.x aka Kilburn 與 Spring Boot 3.0.x 兼容

但:

Spring Cloud GCP 不再是 Spring Cloud 發布序列的一部分。 新的存儲庫位置是https://github.com/GoogleCloudPlatform/spring-cloud-gcp 如果您要從 1.x 版升級,請查看遷移指南以從 1.x 版升級到 2.0.0(或更高版本)。

根據https://github.com/GoogleCloudPlatform/spring-cloud-gcp沒有可用的 Spring Boot 3 版本。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM