Closed lwiddershoven closed 3 years ago
Spring Cloud 2020.0.2
, specifically Spring Cloud Config, pulls in an outdated version of Spring Vault. The SslConfiguration
constructor was introduced with Spring Vault 2.3.2.
See https://github.com/spring-cloud/spring-cloud-config/commit/20be22eced2700e257c3ebf1ae65a300570db824 for reference.
Describe the bug
I create my project on start.spring.io, adding only vault. The generated pom has
<spring-cloud.version>2020.0.2</spring-cloud.version>
(notice the .2) for spring-cloud-dependencies and uses thespring-cloud-starter-vault-config
dependency.On
mvn clean install
the test fails to start the application context withIf I change the spring cloud version to 2020.0.1 the application starts, and even works if I set
@SpringBootTest(properties = "spring.cloud.vault.token=123" )
on the generated test class.Sample Go to start.spring.io and create an app with just vault, and check that the spring cloud version is 2020.0.2.