teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

1

pom.xmlの中身を全て貼り付けました

2019/11/29 06:45

投稿

chocolate_pie
chocolate_pie

スコア26

title CHANGED
File without changes
body CHANGED
@@ -36,10 +36,86 @@
36
36
  ### 該当のソースコード
37
37
 
38
38
  ```xml
39
+ <?xml version="1.0" encoding="UTF-8"?>
40
+ <project xmlns="http://maven.apache.org/POM/4.0.0"
41
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
42
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
43
+ <modelVersion>4.0.0</modelVersion>
44
+ <parent>
45
+ <groupId>org.springframework.boot</groupId>
46
+ <artifactId>spring-boot-starter-parent</artifactId>
47
+ <version>2.2.1.RELEASE</version>
48
+ <relativePath /> <!-- lookup parent from repository -->
49
+ </parent>
50
+ <groupId>jp.co.sss.shop</groupId>
51
+ <artifactId>shop</artifactId>
52
+ <version>0.0.1-SNAPSHOT</version>
53
+ <name>shop</name>
54
+ <description>Demo project for Spring Boot</description>
55
+
56
+ <properties>
57
+ <java.version>13</java.version>
58
+ </properties>
59
+
60
+ <dependencies>
39
- <dependency>
61
+ <dependency>
40
62
  <groupId>org.springframework.boot</groupId>
63
+ <artifactId>spring-boot-starter-thymeleaf</artifactId>
64
+ </dependency>
65
+ <dependency>
66
+ <groupId>org.springframework.boot</groupId>
67
+ <artifactId>spring-boot-starter-web</artifactId>
68
+ </dependency>
69
+
70
+ <dependency>
71
+ <groupId>org.springframework.boot</groupId>
72
+ <artifactId>spring-boot-devtools</artifactId>
73
+ <scope>runtime</scope>
74
+ <optional>true</optional>
75
+ </dependency>
76
+
77
+ <dependency>
78
+ <groupId>org.springframework.boot</groupId>
79
+ <artifactId>spring-boot-starter-test</artifactId>
80
+ <scope>test</scope>
81
+ <exclusions>
82
+ <exclusion>
83
+ <groupId>org.junit.vintage</groupId>
84
+ <artifactId>junit-vintage-engine</artifactId>
85
+ </exclusion>
86
+ </exclusions>
87
+ </dependency>
88
+
89
+
90
+ <!--JPAを使用するための設定(ここが原因でエラーが出る) -->
91
+ <dependency>
92
+ <groupId>org.springframework.boot</groupId>
41
93
  <artifactId>spring-boot-starter-data-jpa</artifactId>
42
- </dependency>
94
+ </dependency>
95
+
96
+
97
+ <!--JDBCを使用するための設定(object7.jarのビルドパス設定) -->
98
+ <dependency>
99
+ <groupId>com.oracle.jdbc</groupId>
100
+ <artifactId>ojdbc7</artifactId>
101
+ <version>12.1.0.2</version>
102
+ <scope>system</scope>
103
+ <systemPath>${basedir}/src/main/resources/lib/ojdbc7.jar</systemPath>
104
+ </dependency>
105
+
106
+ </dependencies>
107
+
108
+ <build>
109
+ <plugins>
110
+ <plugin>
111
+ <groupId>org.springframework.boot</groupId>
112
+ <artifactId>spring-boot-maven-plugin</artifactId>
113
+ </plugin>
114
+ </plugins>
115
+ </build>
116
+
117
+ </project>
118
+
43
119
  ```
44
120
 
45
121
  ### 試したこと