質問編集履歴
1
pomを全文記載に変更
test
CHANGED
File without changes
|
test
CHANGED
@@ -20,118 +20,16 @@
|
|
20
20
|
|
21
21
|
|
22
22
|
|
23
|
-
/\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
|
24
|
-
|
25
|
-
( ( )\___ | '_ | '_| | '_ / _` | \ \ \ \
|
26
|
-
|
27
|
-
\/ ___)| |_)| | | | | || (_| | ) ) ) )
|
28
|
-
|
29
|
-
' |____| .__|_| |_|_| |_\__, | / / / /
|
30
|
-
|
31
|
-
=========|_|==============|___/=/_/_/_/
|
32
|
-
|
33
|
-
:: Spring Boot :: (v0.0.1-SNAPSHOT)
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
2019-03-28 08:23:49.191 INFO 12500 --- [ restartedMain] springbootapp.App : Starting App v0.0.1-SNAPSHOT on **** with PID **** (C:\machine_management_system-0.0.1-SNAPSHOT.jar started by ***** in c:)
|
38
|
-
|
39
|
-
2019-03-28 08:23:49.196 INFO 12500 --- [ restartedMain] springbootapp.App : The following profiles are active: dev
|
40
|
-
|
41
|
-
2019-03-28 08:23:49.547 INFO 12500 --- [ restartedMain] s.c.a.AnnotationConfigApplicationContext : Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@70c96b: startup date [Thu Mar 28 08:23:49 JST 2019]; root of context hierarchy
|
42
|
-
|
43
23
|
2019-03-28 08:23:49.991 WARN 12500 --- [ restartedMain] s.c.a.AnnotationConfigApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [springbootapp.App]; nested exception is java.lang.IllegalStateException: Failed to introspect annotated methods on class org.springframework.boot.web.support.SpringBootServletInitializer
|
44
24
|
|
45
25
|
2019-03-28 08:23:50.008 ERROR 12500 --- [ restartedMain] o.s.boot.SpringApplication : Application startup failed
|
46
26
|
|
47
27
|
|
48
28
|
|
49
|
-
org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [springbootapp.App]; nested exception is java.lang.IllegalStateException: Failed to introspect annotated methods on class org.springframework.boot.web.support.SpringBootServletInitializer
|
50
|
-
|
51
|
-
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:187) ~[machine_management_system-0.0.1-SNAPSHOT.jar:0.0.1-SNAPSHOT]
|
52
|
-
|
53
|
-
at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:324) ~[machine_management_system-0.0.1-SNAPSHOT.jar:0.0.1-SNAPSHOT]
|
54
|
-
|
55
|
-
at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:246) ~[machine_management_system-0.0.1-SNAPSHOT.jar:0.0.1-SNAPSHOT]
|
56
|
-
|
57
|
-
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:273) ~[machine_management_system-0.0.1-SNAPSHOT.jar:0.0.1-SNAPSHOT]
|
58
|
-
|
59
|
-
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:98) ~[machine_management_system-0.0.1-SNAPSHOT.jar:0.0.1-SNAPSHOT]
|
60
|
-
|
61
|
-
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:681) ~[machine_management_system-0.0.1-SNAPSHOT.jar:0.0.1-SNAPSHOT]
|
62
|
-
|
63
|
-
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:523) ~[machine_management_system-0.0.1-SNAPSHOT.jar:0.0.1-SNAPSHOT]
|
64
|
-
|
65
|
-
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:761) [machine_management_system-0.0.1-SNAPSHOT.jar:0.0.1-SNAPSHOT]
|
66
|
-
|
67
|
-
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:371) [machine_management_system-0.0.1-SNAPSHOT.jar:0.0.1-SNAPSHOT]
|
68
|
-
|
69
|
-
at org.springframework.boot.SpringApplication.run(SpringApplication.java:315) [machine_management_system-0.0.1-SNAPSHOT.jar:0.0.1-SNAPSHOT]
|
70
|
-
|
71
|
-
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1186) [machine_management_system-0.0.1-SNAPSHOT.jar:0.0.1-SNAPSHOT]
|
72
|
-
|
73
|
-
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1175) [machine_management_system-0.0.1-SNAPSHOT.jar:0.0.1-SNAPSHOT]
|
74
|
-
|
75
|
-
at springbootapp.App.main(App.java:11) [machine_management_system-0.0.1-SNAPSHOT.jar:0.0.1-SNAPSHOT]
|
76
|
-
|
77
|
-
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_191]
|
78
|
-
|
79
|
-
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_191]
|
80
|
-
|
81
|
-
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_191]
|
82
|
-
|
83
|
-
at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.8.0_191]
|
84
|
-
|
85
|
-
at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49) [machine_management_system-0.0.1-SNAPSHOT.jar:0.0.1-SNAPSHOT]
|
86
|
-
|
87
|
-
Caused by: java.lang.IllegalStateException: Failed to introspect annotated methods on class org.springframework.boot.web.support.SpringBootServletInitializer
|
88
|
-
|
89
|
-
at org.springframework.core.type.StandardAnnotationMetadata.getAnnotatedMethods(StandardAnnotationMetadata.java:163) ~[machine_management_system-0.0.1-SNAPSHOT.jar:0.0.1-SNAPSHOT]
|
90
|
-
|
91
|
-
at org.springframework.context.annotation.ConfigurationClassParser.doProcessConfigurationClass(ConfigurationClassParser.java:301) ~[machine_management_system-0.0.1-SNAPSHOT.jar:0.0.1-SNAPSHOT]
|
92
|
-
|
93
|
-
at org.springframework.context.annotation.ConfigurationClassParser.processConfigurationClass(ConfigurationClassParser.java:237) ~[machine_management_system-0.0.1-SNAPSHOT.jar:0.0.1-SNAPSHOT]
|
94
|
-
|
95
|
-
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:204) ~[machine_management_system-0.0.1-SNAPSHOT.jar:0.0.1-SNAPSHOT]
|
96
|
-
|
97
|
-
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:173) ~[machine_management_system-0.0.1-SNAPSHOT.jar:0.0.1-SNAPSHOT]
|
98
|
-
|
99
|
-
... 17 common frames omitted
|
100
|
-
|
101
|
-
Caused by: java.lang.NoClassDefFoundError: javax/servlet/ServletContext
|
102
|
-
|
103
|
-
at java.lang.Class.getDeclaredMethods0(Native Method) ~[na:1.8.0_191]
|
104
|
-
|
105
|
-
at java.lang.Class.privateGetDeclaredMethods(Unknown Source) ~[na:1.8.0_191]
|
106
|
-
|
107
|
-
at java.lang.Class.getDeclaredMethods(Unknown Source) ~[na:1.8.0_191]
|
108
|
-
|
109
|
-
at org.springframework.core.type.StandardAnnotationMetadata.getAnnotatedMethods(StandardAnnotationMetadata.java:152) ~[machine_management_system-0.0.1-SNAPSHOT.jar:0.0.1-SNAPSHOT]
|
110
|
-
|
111
|
-
... 21 common frames omitted
|
112
|
-
|
113
|
-
Caused by: java.lang.ClassNotFoundException: javax.servlet.ServletContext
|
114
|
-
|
115
|
-
at java.net.URLClassLoader.findClass(Unknown Source) ~[na:1.8.0_191]
|
116
|
-
|
117
|
-
at java.lang.ClassLoader.loadClass(Unknown Source) ~[na:1.8.0_191]
|
118
|
-
|
119
|
-
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) ~[na:1.8.0_191]
|
120
|
-
|
121
|
-
at java.lang.ClassLoader.loadClass(Unknown Source) ~[na:1.8.0_191]
|
122
|
-
|
123
|
-
... 25 common frames omitted
|
124
|
-
|
125
29
|
|
126
30
|
|
127
31
|
```pom
|
128
32
|
|
129
|
-
|
130
|
-
|
131
|
-
(抜粋)
|
132
|
-
|
133
|
-
|
134
|
-
|
135
33
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
136
34
|
|
137
35
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
@@ -220,9 +118,355 @@
|
|
220
118
|
|
221
119
|
|
222
120
|
|
223
|
-
|
121
|
+
<plugin>
|
122
|
+
|
224
|
-
|
123
|
+
<groupId>org.apache.maven.plugins</groupId>
|
124
|
+
|
225
|
-
|
125
|
+
<artifactId>maven-shade-plugin</artifactId>
|
126
|
+
|
127
|
+
</plugin>
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
</plugins>
|
132
|
+
|
133
|
+
</build>
|
134
|
+
|
135
|
+
|
136
|
+
|
137
|
+
|
138
|
+
|
139
|
+
<parent>
|
140
|
+
|
141
|
+
<groupId>org.springframework.boot</groupId>
|
142
|
+
|
143
|
+
<artifactId>spring-boot-starter-parent</artifactId>
|
144
|
+
|
145
|
+
<version>1.4.1.RELEASE</version>
|
146
|
+
|
147
|
+
</parent>
|
148
|
+
|
149
|
+
|
150
|
+
|
151
|
+
<properties>
|
152
|
+
|
153
|
+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
154
|
+
|
155
|
+
<java.version>1.8</java.version>
|
156
|
+
|
157
|
+
<thymeleaf.version>3.0.9.RELEASE</thymeleaf.version>
|
158
|
+
|
159
|
+
<thymeleaf-layout-dialect.version>2.0.5</thymeleaf-layout-dialect.version>
|
160
|
+
|
161
|
+
<thymeleaf-extras-springsecurity4.version>3.0.2.RELEASE</thymeleaf-extras-springsecurity4.version>
|
162
|
+
|
163
|
+
<thymeleaf-extras-data-attribute.version>2.0.5</thymeleaf-extras-data-attribute.version>
|
164
|
+
|
165
|
+
<thymeleaf-extras-java8time.version>3.0.0.RELEASE</thymeleaf-extras-java8time.version>
|
166
|
+
|
167
|
+
<org.springframework.security.version>4.1.2.RELEASE</org.springframework.security.version>
|
168
|
+
|
169
|
+
</properties>
|
170
|
+
|
171
|
+
|
172
|
+
|
173
|
+
|
174
|
+
|
175
|
+
<dependencies>
|
176
|
+
|
177
|
+
|
178
|
+
|
179
|
+
<dependency>
|
180
|
+
|
181
|
+
<groupId>org.springframework.boot</groupId>
|
182
|
+
|
183
|
+
<artifactId>spring-boot-starter-tomcat</artifactId>
|
184
|
+
|
185
|
+
<scope>provided</scope>
|
186
|
+
|
187
|
+
</dependency>
|
188
|
+
|
189
|
+
|
190
|
+
|
191
|
+
|
192
|
+
|
193
|
+
<dependency>
|
194
|
+
|
195
|
+
<groupId>org.springframework.boot</groupId>
|
196
|
+
|
197
|
+
<artifactId>spring-boot-starter-web</artifactId>
|
198
|
+
|
199
|
+
</dependency>
|
200
|
+
|
201
|
+
|
202
|
+
|
203
|
+
|
204
|
+
|
205
|
+
<dependency>
|
206
|
+
|
207
|
+
<groupId>org.springframework.boot</groupId>
|
208
|
+
|
209
|
+
<artifactId>spring-boot-starter-thymeleaf</artifactId>
|
210
|
+
|
211
|
+
</dependency>
|
212
|
+
|
213
|
+
|
214
|
+
|
215
|
+
|
216
|
+
|
217
|
+
<dependency>
|
218
|
+
|
219
|
+
<groupId>org.springframework.boot</groupId>
|
220
|
+
|
221
|
+
<artifactId>spring-boot-starter-tomcat</artifactId>
|
222
|
+
|
223
|
+
<scope>provided</scope>
|
224
|
+
|
225
|
+
</dependency>
|
226
|
+
|
227
|
+
|
228
|
+
|
229
|
+
|
230
|
+
|
231
|
+
<dependency>
|
232
|
+
|
233
|
+
<groupId>org.projectlombok</groupId>
|
234
|
+
|
235
|
+
<artifactId>lombok</artifactId>
|
236
|
+
|
237
|
+
</dependency>
|
238
|
+
|
239
|
+
|
240
|
+
|
241
|
+
|
242
|
+
|
243
|
+
<dependency>
|
244
|
+
|
245
|
+
<groupId>org.springframework.boot</groupId>
|
246
|
+
|
247
|
+
<artifactId>spring-boot-configuration-processor</artifactId>
|
248
|
+
|
249
|
+
<optional>true</optional>
|
250
|
+
|
251
|
+
</dependency>
|
252
|
+
|
253
|
+
|
254
|
+
|
255
|
+
|
256
|
+
|
257
|
+
<dependency>
|
258
|
+
|
259
|
+
<groupId>org.springframework.boot</groupId>
|
260
|
+
|
261
|
+
<artifactId>spring-boot-starter-data-jpa</artifactId>
|
262
|
+
|
263
|
+
</dependency>
|
264
|
+
|
265
|
+
|
266
|
+
|
267
|
+
|
268
|
+
|
269
|
+
<!-- SQLiteの設定 ここから-->
|
270
|
+
|
271
|
+
<dependency>
|
272
|
+
|
273
|
+
<groupId>org.xerial</groupId>
|
274
|
+
|
275
|
+
<artifactId>sqlite-jdbc</artifactId>
|
276
|
+
|
277
|
+
</dependency>
|
278
|
+
|
279
|
+
|
280
|
+
|
281
|
+
<dependency>
|
282
|
+
|
283
|
+
<groupId>com.enigmabridge</groupId>
|
284
|
+
|
285
|
+
<artifactId>hibernate4-sqlite-dialect</artifactId>
|
286
|
+
|
287
|
+
<version>0.1.2</version>
|
288
|
+
|
289
|
+
</dependency>
|
290
|
+
|
291
|
+
<!-- SQLiteの設定 ここまで-->
|
292
|
+
|
293
|
+
|
294
|
+
|
295
|
+
<dependency>
|
296
|
+
|
297
|
+
<groupId>org.webjars</groupId>
|
298
|
+
|
299
|
+
<artifactId>jquery</artifactId>
|
300
|
+
|
301
|
+
<version>2.1.1</version>
|
302
|
+
|
303
|
+
</dependency>
|
304
|
+
|
305
|
+
|
306
|
+
|
307
|
+
<dependency>
|
308
|
+
|
309
|
+
<groupId>com.fasterxml.jackson.datatype</groupId>
|
310
|
+
|
311
|
+
<artifactId>jackson-datatype-jsr310</artifactId>
|
312
|
+
|
313
|
+
</dependency>
|
314
|
+
|
315
|
+
|
316
|
+
|
317
|
+
<dependency>
|
318
|
+
|
319
|
+
<groupId>com.fasterxml.jackson.core</groupId>
|
320
|
+
|
321
|
+
<artifactId>jackson-databind</artifactId>
|
322
|
+
|
323
|
+
</dependency>
|
324
|
+
|
325
|
+
|
326
|
+
|
327
|
+
<dependency>
|
328
|
+
|
329
|
+
<groupId>org.springframework.boot</groupId>
|
330
|
+
|
331
|
+
<artifactId>spring-boot-devtools</artifactId>
|
332
|
+
|
333
|
+
</dependency>
|
334
|
+
|
335
|
+
|
336
|
+
|
337
|
+
<dependency>
|
338
|
+
|
339
|
+
<groupId>org.thymeleaf.extras</groupId>
|
340
|
+
|
341
|
+
<artifactId>thymeleaf-extras-java8time</artifactId>
|
342
|
+
|
343
|
+
</dependency>
|
344
|
+
|
345
|
+
|
346
|
+
|
347
|
+
|
348
|
+
|
349
|
+
<dependency>
|
350
|
+
|
351
|
+
<groupId>org.springframework.boot</groupId>
|
352
|
+
|
353
|
+
<artifactId>spring-boot-actuator</artifactId>
|
354
|
+
|
355
|
+
</dependency>
|
356
|
+
|
357
|
+
|
358
|
+
|
359
|
+
<dependency>
|
360
|
+
|
361
|
+
<groupId>org.apache.commons</groupId>
|
362
|
+
|
363
|
+
<artifactId>commons-lang3</artifactId>
|
364
|
+
|
365
|
+
<version>3.4</version>
|
366
|
+
|
367
|
+
</dependency>
|
368
|
+
|
369
|
+
|
370
|
+
|
371
|
+
<dependency>
|
372
|
+
|
373
|
+
<groupId>org.springframework</groupId>
|
374
|
+
|
375
|
+
<artifactId>spring-context</artifactId>
|
376
|
+
|
377
|
+
</dependency>
|
378
|
+
|
379
|
+
|
380
|
+
|
381
|
+
<dependency>
|
382
|
+
|
383
|
+
<groupId>org.springframework</groupId>
|
384
|
+
|
385
|
+
<artifactId>spring-jdbc</artifactId>
|
386
|
+
|
387
|
+
</dependency>
|
388
|
+
|
389
|
+
|
390
|
+
|
391
|
+
|
392
|
+
|
393
|
+
<!-- POI -->
|
394
|
+
|
395
|
+
<dependency>
|
396
|
+
|
397
|
+
<groupId>org.apache.poi</groupId>
|
398
|
+
|
399
|
+
<artifactId>poi</artifactId>
|
400
|
+
|
401
|
+
<version>3.13</version>
|
402
|
+
|
403
|
+
</dependency>
|
404
|
+
|
405
|
+
|
406
|
+
|
407
|
+
<dependency>
|
408
|
+
|
409
|
+
<groupId>org.apache.poi</groupId>
|
410
|
+
|
411
|
+
<artifactId>poi-ooxml</artifactId>
|
412
|
+
|
413
|
+
<version>3.13</version>
|
414
|
+
|
415
|
+
</dependency>
|
416
|
+
|
417
|
+
|
418
|
+
|
419
|
+
|
420
|
+
|
421
|
+
<!-- Security -->
|
422
|
+
|
423
|
+
<dependency>
|
424
|
+
|
425
|
+
<groupId>org.springframework.security</groupId>
|
426
|
+
|
427
|
+
<artifactId>spring-security-web</artifactId>
|
428
|
+
|
429
|
+
</dependency>
|
430
|
+
|
431
|
+
|
432
|
+
|
433
|
+
<dependency>
|
434
|
+
|
435
|
+
<groupId>org.springframework.security</groupId>
|
436
|
+
|
437
|
+
<artifactId>spring-security-config</artifactId>
|
438
|
+
|
439
|
+
</dependency>
|
440
|
+
|
441
|
+
|
442
|
+
|
443
|
+
<dependency>
|
444
|
+
|
445
|
+
<groupId>org.springframework.security</groupId>
|
446
|
+
|
447
|
+
<artifactId>spring-security-taglibs</artifactId>
|
448
|
+
|
449
|
+
</dependency>
|
450
|
+
|
451
|
+
|
452
|
+
|
453
|
+
<dependency>
|
454
|
+
|
455
|
+
<groupId>org.thymeleaf.extras</groupId>
|
456
|
+
|
457
|
+
<artifactId>thymeleaf-extras-springsecurity4</artifactId>
|
458
|
+
|
459
|
+
</dependency>
|
460
|
+
|
461
|
+
|
462
|
+
|
463
|
+
</dependencies>
|
464
|
+
|
465
|
+
|
466
|
+
|
467
|
+
|
468
|
+
|
469
|
+
</project>
|
226
470
|
|
227
471
|
```
|
228
472
|
|