Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.x.x to 3.x.x

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.x.x. Just wondering if anyone else is having the same issue?

Compatibility with Spring Project Versions

like image 495
D M Avatar asked Mar 19 '26 23:03

D M


1 Answers

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.

like image 68
Simon Martinelli Avatar answered Mar 25 '26 00:03

Simon Martinelli



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!