Posts

Showing posts with the label Install oracle driver to maven local repo. mvn:install:install-file

Install ojdbc driver to Maven local repository

Image
Install ojdbc driver to Maven local repository Hi, I am Malathi Boggavarapu working at Volvo Group and i live in Gothenburg, Sweden. I have been working on Java since several years and had vast experience and knowledge across various technologies. In recent days i have a been building the sample REST api using Spring Boot framework and Gradle. So in no time i jumped to the website Spring Initializer (https://start.spring.io/ ) immediatly and generated the project with required dependencies such as Web, Actuator, JPA and JDBC. I added the jdbc dataSoruce configuration properties to application.yml inorder to connect to Oracle database. See below spring: datasource: url: jdbc:oracle:thin:@[host_name]:[port]/[service_name] username: [user_name] password: [password]       driver-class-name: oracle.jdbc.driver.OracleDriver But once i start the Spring boot application it started complaining 'Can not load OracleDriver' and could