Closed Vladimirsencov closed 2 years ago
The org.springframework.boot.context.properties.ConfigurationBeanFactoryMetadata
class has been removed since spring boot 2.4.0. I couldn't find any reference to this class in the embedded database library. So I guess the problem could be caused by using spring modules in different versions. Or it could also be caused by using an incompatible version of spring cloud project. So please check the versions of the corresponding maven or gradle dependencies.
I have some issue:
Gradle project with Gradle version 6.8.1
Dependencies of zonky: [ testImplementation 'io.zonky.test:embedded-database-spring-test:2.1.0' testImplementation group: 'io.zonky.test', name: 'embedded-postgres', version: '1.3.1' ]
java class with annotation configuration
@AutoConfigureWireMock(port = 0) @AutoConfigureEmbeddedDatabase(provider = AutoConfigureEmbeddedDatabase.DatabaseProvider.ZONKY, replace = AutoConfigureEmbeddedDatabase.Replace.ANY) public abstract class Abstract_IT { @Autowired protected ObjectMapper objectMapper; @Autowired protected WireMockServer wireMockServer; @Autowired protected RequestHelper requestHelper; @Autowired protected ResponseHelper responseHelper; @Autowired protected Flyway flyway; }
-Error message