Closed Hyerram closed 5 years ago
You should use the spring cloud dependencies bom, that way you don't need to know individual versions. See start.spring.io
Have added :
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>Greenwich.RELEASE</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
Still same issue.
I didn't notice the prior
Caused by: java.lang.IllegalStateException: Cannot load driver class: oracle.jdbc.driver.OracleDriver
Are you trying to use oracle? Is it on your classpath?
Added the oracle.jdbc.driver.OracleDriver issue resolved. Thanks @spencergibb
I'm trying to update my spring boot version from 1.5.10 to 2.1.2 and while staring an application I'm facing below issue: Description:
Failed to bind properties under '' to com.zaxxer.hikari.HikariDataSource:
Action:
Update your application's configuration
Added the properties explicitly, for the datasource, but still same issue.
Below is the stack trace for spring boot version 2.1.2.RELEASE:
Below is the updated Pom.xml:
Could someone suggest, what's the compatible version of spring cloud and its dependencies for Spring boot 2.x. Is there any other options to upgrade my spring Boot versions.