Guest User

Untitled

a guest
Jan 17th, 2019
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.52 KB | None | 0 0
  1. 2019-01-17T10:31:11.315+05:30 [APP/PROC/WEB/0] [OUT]
  2. 2019-01-17 05:01:11.315 ERROR 16 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter :
  3. 2019-01-17T10:31:11.315+05:30 [APP/PROC/WEB/0] [OUT] ***************************
  4. 2019-01-17T10:31:11.315+05:30 [APP/PROC/WEB/0] [OUT] APPLICATION FAILED TO START
  5. 2019-01-17T10:31:11.315+05:30 [APP/PROC/WEB/0] [OUT] Description:
  6. 2019-01-17T10:31:11.315+05:30 [APP/PROC/WEB/0] [OUT] Failed to bind properties under '' to com.zaxxer.hikari.HikariDataSource:
  7. 2019-01-17T10:31:11.315+05:30 [APP/PROC/WEB/0] [OUT] Property: driverclassname
  8. 2019-01-17T10:31:11.315+05:30 [APP/PROC/WEB/0] [OUT] Value: oracle.jdbc.OracleDriver
  9. 2019-01-17T10:31:11.315+05:30 [APP/PROC/WEB/0] [OUT] Origin: "driverClassName" from property source "source"
  10. 2019-01-17T10:31:11.315+05:30 [APP/PROC/WEB/0] [OUT] Reason: Failed to load driver class oracle.jdbc.OracleDriver in either of HikariConfig class loader or Thread context classloader
  11.  
  12. mvn install:install-file -DgroupId=com.oracle -DartifactId=ojdbc6 -Dversion=11.2.0.3 -Dpackaging=jar -Dfile=ojdbc6.jar -DgeneratePom=true
  13.  
  14. spring:
  15. datasource:
  16. driverClassName: oracle.jdbc.OracleDriver
  17. url: jdbc:oracle:thin:@dbhost:dbport:svcname
  18. username: username
  19. password: password
  20.  
  21. <?xml version="1.0" encoding="UTF-8"?>
  22. <project xmlns="http://maven.apache.org/POM/4.0.0"
  23. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  24. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  25. <modelVersion>4.0.0</modelVersion>
  26. <parent>
  27. <groupId>org.springframework.boot</groupId>
  28. <artifactId>spring-boot-starter-parent</artifactId>
  29. <version>2.1.0.RELEASE</version>
  30. <relativePath /> <!-- lookup parent from repository -->
  31. </parent>
  32. <groupId>odata-example</groupId>
  33. <artifactId>odata-example</artifactId>
  34. <version>0.0.1-SNAPSHOT</version>
  35. <name>odata-example</name>
  36. <description>Odata POC for exposing data from DB using Annotation based EDM Objects</description>
  37.  
  38. <properties>
  39. <java.version>1.8</java.version>
  40. <version.olingo>2.0.8</version.olingo>
  41. <lombok.version>1.16.18</lombok.version>
  42. </properties>
  43.  
  44. <dependencies>
  45. <!-- Spring related dependecies -->
  46. <dependency>
  47. <groupId>org.springframework.boot</groupId>
  48. <artifactId>spring-boot-starter-web</artifactId>
  49. </dependency>
  50. <!-- <dependency>
  51. <groupId>org.springframework.boot</groupId>
  52. <artifactId>spring-boot-starter-tomcat</artifactId>
  53. <scope>provided</scope>
  54. </dependency> -->
  55. <dependency>
  56. <groupId>org.springframework.boot</groupId>
  57. <artifactId>spring-boot-starter-test</artifactId>
  58. <scope>test</scope>
  59. </dependency>
  60. <dependency>
  61. <groupId>org.springframework.boot</groupId>
  62. <artifactId>spring-boot-starter-data-jpa</artifactId>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.projectlombok</groupId>
  66. <artifactId>lombok</artifactId>
  67. </dependency>
  68. <dependency>
  69. <groupId>com.oracle</groupId>
  70. <artifactId>ojdbc6</artifactId>
  71. <version>11.2.0.3</version>
  72. <scope>system</scope>
  73. <systemPath>${basedir}/jars/ojdbc6.jar</systemPath>
  74. </dependency>
  75. <!-- Odata related dependencies -->
  76. <dependency>
  77. <groupId>org.apache.olingo</groupId>
  78. <artifactId>olingo-odata2-api</artifactId>
  79. <version>${version.olingo}</version>
  80. </dependency>
  81. <dependency>
  82. <artifactId>olingo-odata2-api-annotation</artifactId>
  83. <groupId>org.apache.olingo</groupId>
  84. <type>jar</type>
  85. <version>${version.olingo}</version>
  86. </dependency>
  87. <dependency>
  88. <groupId>org.apache.olingo</groupId>
  89. <artifactId>olingo-odata2-core</artifactId>
  90. <version>${version.olingo}</version>
  91. </dependency>
  92. <dependency>
  93. <groupId>org.apache.olingo</groupId>
  94. <artifactId>olingo-odata2-annotation-processor-api</artifactId>
  95. <version>${version.olingo}</version>
  96. </dependency>
  97. <dependency>
  98. <groupId>org.apache.olingo</groupId>
  99. <artifactId>olingo-odata2-annotation-processor-core</artifactId>
  100. <version>${version.olingo}</version>
  101. </dependency>
  102.  
  103. <!-- Other dependencies -->
  104. </dependencies>
  105.  
  106. <build>
  107. <plugins>
  108. <plugin>
  109. <groupId>org.springframework.boot</groupId>
  110. <artifactId>spring-boot-maven-plugin</artifactId>
  111. <configuration>
  112. <includeSystemScope>true</includeSystemScope>
  113. </configuration>
  114. </plugin>
  115. </plugins>
  116. </build>
Add Comment
Please, Sign In to add comment