Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ./mvnw package && java -jar target/ff-back-boilerplate-0.0.1-SNAPSHOT.jar
- Failed to bind properties under 'spring.datasource' to javax.sql.DataSource:
- Property: spring.datasource.driver-class-name
- Value: oracle.jdbc.OracleDriver
- Origin: class path resource [application.yml]:22:24
- Reason: Failed to load driver class oracle.jdbc.OracleDriver in either of HikariConfig class
- loader or Thread context classloader
- Action:
- Update your application's configuration
- mvn install:install-file -Dfile=ojdbc7.jar -DgroupId=com.oracle -DartifactId=ojdbc7 -Dversion=12.1.0 -Dpackaging=jar
- management:
- endpoints:
- web:
- exposure:
- include: "*"
- spring:
- jpa:
- database: default
- properties.hibernate.id.new_generator_mappings: false
- datasource:
- #Oracle DB - PROTPROD
- jdbc-url: jdbc:oracle:thin:@erp12.*****.com:1521/orcl
- username: *******
- password: *******
- driver-class-name: oracle.jdbc.OracleDriver
- mysql-local:
- datasource:
- #Mysql DB - test
- jdbc-url: jdbc:mysql://localhost:3306/test
- username: felipe
- password: password
- driver-class-name: com.mysql.jdbc.Driver
- security:
- oauth2:
- resource:
- user-info-uri: https://orion44.*****.com/me
Add Comment
Please, Sign In to add comment