Failed to load driver class oracle.jdbc.OracleDriver in either of HikariConfig class loader or Thread context
As its mentioned in your error the problem is with your configuration.Following line,
spring.datasource.driver.class-name=oracle.jdbc.driver.OracleDriver
should change as,
spring.datasource.driver-class-name=oracle.jdbc.driver.OracleDriver
Note that its not driver.class-name, instead its driver-class-name
Add below dependency and repository in the pom <dependency> <groupId>com.oracle</groupId> <artifactId>ojdbc6</artifactId> <version>11.2.0.3</version> </dependency> <repositories> <repository> <id>codelds</id> <url>https://code.lds.org/nexus/content/groups/main-repo</url> </repository> </repositories>Also add the following properties in the application.properties spring.datasource.driver-class-name=oracle.jdbc.driver.OracleDriver spring.datasource.url=jdbc:oracle:thin:@localhost:1521:xe(SID) spring.datasource.username=system spring.datasource.password=pw