Closed LiamWilson94 closed 3 years ago
Hi @LiamWilson94
Can you try com.google.cloud:spring-cloud-gcp-dependencies:2.0.0-RC2
with 2020.0.0-M5?
Hi @ttomsu - really appreciate the speedy reply! Yes switching out to that worked a treat :)
compile group: 'com.google.cloud', name: 'spring-cloud-gcp-starter-secretmanager', version: '2.0.0-RC2'
compile group: 'com.google.cloud', name: 'spring-cloud-gcp-dependencies', version: '2.0.0-RC2', ext: 'pom'
1.2.x
is only compatible with Spring Boot 2.3
. For Spring Boot 2.4
, you need to upgrade to 2.x
which should have a GA release in a few weeks.
Hi š
I am using Spring Boot WebFlux version 2.4.0 with the following Spring Cloud version and Spring Cloud GCP versions respectively
I am having difficulty being able to autowire the
SecretManagerTemplate
bean as it is not being created and I don't see theGcpSecretManagerBootstrapConfiguration
class being autoconfigured.Consider defining a bean of type 'org.springframework.cloud.gcp.secretmanager.SecretManagerTemplate' in your configuration.
My application.properties and bootstrap.properties (which are identical due to testing this out) are -
My full build.gradle is as follows