简体   繁体   中英

Is Google Spring Cloud GCP compatible with spring boot 3.0.0?

I'm using Google Spring Cloud GCP and getting errors since trying to upgrade spring boot 2.xx to 3.xx

Description:

Parameter 2 of constructor in x.MyService required a bean of type 'com.google.cloud:spring-cloud-gcp-starter-vision.CloudVisionTemplate' that could not be found.

Action:

Consider defining a bean of type 'com.google.cloud:spring-cloud-gcp-starter-vision.CloudVisionTemplate' in your configuration.

I am not facing this issue on spring boot 2.7.x. I found this table (linked below) so my understanding is that the latest Google Spring Cloud are not compatible with Spring Boot 3.xx Just wondering if anyone else is having the same issue?

与 Spring 项目版本的兼容性

According to https://spring.io/projects/spring-cloud

Spring Cloud 2022.0.x aka Kilburn is compatible with Spring Boot 3.0.x

But:

Spring Cloud GCP is no longer part of the Spring Cloud release train. The new repository location is https://github.com/GoogleCloudPlatform/spring-cloud-gcp . If you are upgrading from version 1.x, take a look at the migration guide to upgrade from version 1.x to 2.0.0 (or later).

And according to https://github.com/GoogleCloudPlatform/spring-cloud-gcp there is no Spring Boot 3 version available.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM