質問編集履歴

1

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

2019/11/29 06:45

投稿

chocolate_pie
chocolate_pie

スコア26

test CHANGED
File without changes
test CHANGED
@@ -74,13 +74,165 @@
74
74
 
75
75
  ```xml
76
76
 
77
+ <?xml version="1.0" encoding="UTF-8"?>
78
+
79
+ <project xmlns="http://maven.apache.org/POM/4.0.0"
80
+
81
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
82
+
83
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
84
+
85
+ <modelVersion>4.0.0</modelVersion>
86
+
87
+ <parent>
88
+
89
+ <groupId>org.springframework.boot</groupId>
90
+
91
+ <artifactId>spring-boot-starter-parent</artifactId>
92
+
93
+ <version>2.2.1.RELEASE</version>
94
+
95
+ <relativePath /> <!-- lookup parent from repository -->
96
+
97
+ </parent>
98
+
99
+ <groupId>jp.co.sss.shop</groupId>
100
+
101
+ <artifactId>shop</artifactId>
102
+
103
+ <version>0.0.1-SNAPSHOT</version>
104
+
105
+ <name>shop</name>
106
+
107
+ <description>Demo project for Spring Boot</description>
108
+
109
+
110
+
111
+ <properties>
112
+
113
+ <java.version>13</java.version>
114
+
115
+ </properties>
116
+
117
+
118
+
119
+ <dependencies>
120
+
77
- <dependency>
121
+ <dependency>
122
+
123
+ <groupId>org.springframework.boot</groupId>
124
+
125
+ <artifactId>spring-boot-starter-thymeleaf</artifactId>
126
+
127
+ </dependency>
128
+
129
+ <dependency>
130
+
131
+ <groupId>org.springframework.boot</groupId>
132
+
133
+ <artifactId>spring-boot-starter-web</artifactId>
134
+
135
+ </dependency>
136
+
137
+
138
+
139
+ <dependency>
140
+
141
+ <groupId>org.springframework.boot</groupId>
142
+
143
+ <artifactId>spring-boot-devtools</artifactId>
144
+
145
+ <scope>runtime</scope>
146
+
147
+ <optional>true</optional>
148
+
149
+ </dependency>
150
+
151
+
152
+
153
+ <dependency>
154
+
155
+ <groupId>org.springframework.boot</groupId>
156
+
157
+ <artifactId>spring-boot-starter-test</artifactId>
158
+
159
+ <scope>test</scope>
160
+
161
+ <exclusions>
162
+
163
+ <exclusion>
164
+
165
+ <groupId>org.junit.vintage</groupId>
166
+
167
+ <artifactId>junit-vintage-engine</artifactId>
168
+
169
+ </exclusion>
170
+
171
+ </exclusions>
172
+
173
+ </dependency>
174
+
175
+
176
+
177
+
178
+
179
+ <!--JPAを使用するための設定(ここが原因でエラーが出る) -->
180
+
181
+ <dependency>
78
182
 
79
183
  <groupId>org.springframework.boot</groupId>
80
184
 
81
185
  <artifactId>spring-boot-starter-data-jpa</artifactId>
82
186
 
83
- </dependency>
187
+ </dependency>
188
+
189
+
190
+
191
+
192
+
193
+ <!--JDBCを使用するための設定(object7.jarのビルドパス設定) -->
194
+
195
+ <dependency>
196
+
197
+ <groupId>com.oracle.jdbc</groupId>
198
+
199
+ <artifactId>ojdbc7</artifactId>
200
+
201
+ <version>12.1.0.2</version>
202
+
203
+ <scope>system</scope>
204
+
205
+ <systemPath>${basedir}/src/main/resources/lib/ojdbc7.jar</systemPath>
206
+
207
+ </dependency>
208
+
209
+
210
+
211
+ </dependencies>
212
+
213
+
214
+
215
+ <build>
216
+
217
+ <plugins>
218
+
219
+ <plugin>
220
+
221
+ <groupId>org.springframework.boot</groupId>
222
+
223
+ <artifactId>spring-boot-maven-plugin</artifactId>
224
+
225
+ </plugin>
226
+
227
+ </plugins>
228
+
229
+ </build>
230
+
231
+
232
+
233
+ </project>
234
+
235
+
84
236
 
85
237
  ```
86
238