I get this message when deploying my application using flyway:
Exception encountered during context initialization - cancelling refresh attempt:
org.springframework.beans.factory.UnsatisfiedDependencyException:
Error creating bean with name 'org.springframework.boot.autoconfigure.batch.BatchAutoConfiguration$SpringBootBatchConfiguration'
:
Unsatisfied dependency expressed through constructor parameter 2:
Error creating bean with name 'transactionManager' defined in class path resource
[org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]:
Error creating bean with name 'flywayInitializer' defined in class path resource
[org/springframework/boot/autoconfigure/flyway/FlywayAutoConfiguration$FlywayConfiguration.class]:
Unsupported Database: Oracle 19.0
Version 9.16.3 works fine, 10.20.0 is not.
<dependency>
<groupId>org.flywaydb</groupId>
<artifactId>flyway-core</artifactId>
<version>10.20.0</version>
</dependency>
We need to update to the latest version due to SpringBoot.