質問編集履歴
1
springbootのコンソールを追加しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -10,23 +10,75 @@
|
|
10
10
|
|
11
11
|
|
12
12
|
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
|
13
17
|
### 発生している問題・エラーメッセージ
|
14
18
|
|
15
19
|
|
16
20
|
|
17
21
|
```
|
18
22
|
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
N
|
23
|
+
2021-01-15 09:50:47.456[0;39m [32m INFO[0;39m [35m2843[0;39m [2m---[0;39m [2m[ restartedMain][0;39m [36mteam.Member1Application [0;39m [2m:[0;39m Starting Member1Application using Java 11.0.7 on miyawakiseijinoMacBook-Air.local with PID 2843 (/Users/miyawakiseiji/Documents/workspace-spring-tool-suite-4-4.7.0.RELEASE/hello/src/main/java/com/example/hello/member-1/bin/main started by miyawakiseiji in /Users/miyawakiseiji/Documents/workspace-spring-tool-suite-4-4.7.0.RELEASE/hello/src/main/java/com/example/hello/member-1)
|
24
|
+
|
25
|
+
[2m2021-01-15 09:50:47.458[0;39m [32m INFO[0;39m [35m2843[0;39m [2m---[0;39m [2m[ restartedMain][0;39m [36mteam.Member1Application [0;39m [2m:[0;39m No active profile set, falling back to default profiles: default
|
26
|
+
|
27
|
+
[2m2021-01-15 09:50:47.532[0;39m [32m INFO[0;39m [35m2843[0;39m [2m---[0;39m [2m[ restartedMain][0;39m [36m.e.DevToolsPropertyDefaultsPostProcessor[0;39m [2m:[0;39m Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable
|
28
|
+
|
29
|
+
[2m2021-01-15 09:50:47.533[0;39m [32m INFO[0;39m [35m2843[0;39m [2m---[0;39m [2m[ restartedMain][0;39m [36m.e.DevToolsPropertyDefaultsPostProcessor[0;39m [2m:[0;39m For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG'
|
30
|
+
|
31
|
+
[2m2021-01-15 09:50:48.150[0;39m [32m INFO[0;39m [35m2843[0;39m [2m---[0;39m [2m[ restartedMain][0;39m [36m.s.d.r.c.RepositoryConfigurationDelegate[0;39m [2m:[0;39m Bootstrapping Spring Data JPA repositories in DEFAULT mode.
|
32
|
+
|
33
|
+
[2m2021-01-15 09:50:48.160[0;39m [32m INFO[0;39m [35m2843[0;39m [2m---[0;39m [2m[ restartedMain][0;39m [36m.s.d.r.c.RepositoryConfigurationDelegate[0;39m [2m:[0;39m Finished Spring Data repository scanning in 3 ms. Found 0 JPA repository interfaces.
|
34
|
+
|
35
|
+
[2m2021-01-15 09:50:48.260[0;39m [33m WARN[0;39m [35m2843[0;39m [2m---[0;39m [2m[ restartedMain][0;39m [36mo.m.s.mapper.ClassPathMapperScanner [0;39m [2m:[0;39m No MyBatis mapper was found in '[team]' package. Please check your configuration.
|
36
|
+
|
37
|
+
[2m2021-01-15 09:50:48.602[0;39m [32m INFO[0;39m [35m2843[0;39m [2m---[0;39m [2m[ restartedMain][0;39m [36mo.s.b.w.embedded.tomcat.TomcatWebServer [0;39m [2m:[0;39m Tomcat initialized with port(s): 8080 (http)
|
38
|
+
|
39
|
+
[2m2021-01-15 09:50:48.612[0;39m [32m INFO[0;39m [35m2843[0;39m [2m---[0;39m [2m[ restartedMain][0;39m [36mo.apache.catalina.core.StandardService [0;39m [2m:[0;39m Starting service [Tomcat]
|
40
|
+
|
41
|
+
[2m2021-01-15 09:50:48.612[0;39m [32m INFO[0;39m [35m2843[0;39m [2m---[0;39m [2m[ restartedMain][0;39m [36morg.apache.catalina.core.StandardEngine [0;39m [2m:[0;39m Starting Servlet engine: [Apache Tomcat/9.0.41]
|
42
|
+
|
43
|
+
[2m2021-01-15 09:50:48.691[0;39m [32m INFO[0;39m [35m2843[0;39m [2m---[0;39m [2m[ restartedMain][0;39m [36mo.a.c.c.C.[Tomcat].[localhost].[/] [0;39m [2m:[0;39m Initializing Spring embedded WebApplicationContext
|
44
|
+
|
45
|
+
[2m2021-01-15 09:50:48.692[0;39m [32m INFO[0;39m [35m2843[0;39m [2m---[0;39m [2m[ restartedMain][0;39m [36mw.s.c.ServletWebServerApplicationContext[0;39m [2m:[0;39m Root WebApplicationContext: initialization completed in 1157 ms
|
46
|
+
|
47
|
+
[2m2021-01-15 09:50:48.811[0;39m [32m INFO[0;39m [35m2843[0;39m [2m---[0;39m [2m[ restartedMain][0;39m [36mcom.zaxxer.hikari.HikariDataSource [0;39m [2m:[0;39m HikariPool-1 - Starting...
|
48
|
+
|
49
|
+
[2m2021-01-15 09:50:49.131[0;39m [32m INFO[0;39m [35m2843[0;39m [2m---[0;39m [2m[ restartedMain][0;39m [36mcom.zaxxer.hikari.HikariDataSource [0;39m [2m:[0;39m HikariPool-1 - Start completed.
|
50
|
+
|
51
|
+
[2m2021-01-15 09:50:49.180[0;39m [32m INFO[0;39m [35m2843[0;39m [2m---[0;39m [2m[ restartedMain][0;39m [36mo.hibernate.jpa.internal.util.LogHelper [0;39m [2m:[0;39m HHH000204: Processing PersistenceUnitInfo [name: default]
|
52
|
+
|
53
|
+
[2m2021-01-15 09:50:49.219[0;39m [32m INFO[0;39m [35m2843[0;39m [2m---[0;39m [2m[ restartedMain][0;39m [36morg.hibernate.Version [0;39m [2m:[0;39m HHH000412: Hibernate ORM core version 5.4.25.Final
|
54
|
+
|
55
|
+
[2m2021-01-15 09:50:49.311[0;39m [32m INFO[0;39m [35m2843[0;39m [2m---[0;39m [2m[ restartedMain][0;39m [36mo.hibernate.annotations.common.Version [0;39m [2m:[0;39m HCANN000001: Hibernate Commons Annotations {5.1.2.Final}
|
56
|
+
|
57
|
+
[2m2021-01-15 09:50:49.397[0;39m [32m INFO[0;39m [35m2843[0;39m [2m---[0;39m [2m[ restartedMain][0;39m [36morg.hibernate.dialect.Dialect [0;39m [2m:[0;39m HHH000400: Using dialect: org.hibernate.dialect.MySQL57Dialect
|
58
|
+
|
59
|
+
[2m2021-01-15 09:50:49.529[0;39m [32m INFO[0;39m [35m2843[0;39m [2m---[0;39m [2m[ restartedMain][0;39m [36mo.h.e.t.j.p.i.JtaPlatformInitiator [0;39m [2m:[0;39m HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
|
60
|
+
|
61
|
+
[2m2021-01-15 09:50:49.539[0;39m [32m INFO[0;39m [35m2843[0;39m [2m---[0;39m [2m[ restartedMain][0;39m [36mj.LocalContainerEntityManagerFactoryBean[0;39m [2m:[0;39m Initialized JPA EntityManagerFactory for persistence unit 'default'
|
62
|
+
|
63
|
+
[2m2021-01-15 09:50:49.595[0;39m [33m WARN[0;39m [35m2843[0;39m [2m---[0;39m [2m[ restartedMain][0;39m [36mJpaBaseConfiguration$JpaWebConfiguration[0;39m [2m:[0;39m spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning
|
64
|
+
|
65
|
+
[2m2021-01-15 09:50:49.710[0;39m [32m INFO[0;39m [35m2843[0;39m [2m---[0;39m [2m[ restartedMain][0;39m [36mo.s.s.concurrent.ThreadPoolTaskExecutor [0;39m [2m:[0;39m Initializing ExecutorService 'applicationTaskExecutor'
|
66
|
+
|
67
|
+
[2m2021-01-15 09:50:49.760[0;39m [32m INFO[0;39m [35m2843[0;39m [2m---[0;39m [2m[ restartedMain][0;39m [36mo.s.b.a.w.s.WelcomePageHandlerMapping [0;39m [2m:[0;39m Adding welcome page template: index
|
68
|
+
|
69
|
+
[2m2021-01-15 09:50:49.929[0;39m [32m INFO[0;39m [35m2843[0;39m [2m---[0;39m [2m[ restartedMain][0;39m [36mo.s.b.d.a.OptionalLiveReloadServer [0;39m [2m:[0;39m LiveReload server is running on port 35729
|
70
|
+
|
71
|
+
[2m2021-01-15 09:50:49.974[0;39m [32m INFO[0;39m [35m2843[0;39m [2m---[0;39m [2m[ restartedMain][0;39m [36mo.s.b.w.embedded.tomcat.TomcatWebServer [0;39m [2m:[0;39m Tomcat started on port(s): 8080 (http) with context path ''
|
72
|
+
|
73
|
+
[2m2021-01-15 09:50:49.984[0;39m [32m INFO[0;39m [35m2843[0;39m [2m---[0;39m [2m[ restartedMain][0;39m [36mteam.Member1Application [0;39m [2m:[0;39m Started Member1Application in 2.776 seconds (JVM running for 8.649)
|
74
|
+
|
75
|
+
[2m2021-01-15 09:51:07.119[0;39m [32m INFO[0;39m [35m2843[0;39m [2m---[0;39m [2m[nio-8080-exec-1][0;39m [36mo.a.c.c.C.[Tomcat].[localhost].[/] [0;39m [2m:[0;39m Initializing Spring DispatcherServlet 'dispatcherServlet'
|
76
|
+
|
77
|
+
[2m2021-01-15 09:51:07.120[0;39m [32m INFO[0;39m [35m2843[0;39m [2m---[0;39m [2m[nio-8080-exec-1][0;39m [36mo.s.web.servlet.DispatcherServlet [0;39m [2m:[0;39m Initializing Servlet 'dispatcherServlet'
|
78
|
+
|
79
|
+
[2m2021-01-15 09:51:07.121[0;39m [32m INFO[0;39m [35m2843[0;39m [2m---[0;39m [2m[nio-8080-exec-1][0;39m [36mo.s.web.servlet.DispatcherServlet [0;39m [2m:[0;39m Completed initialization in 1 ms
|
80
|
+
|
81
|
+
|
30
82
|
|
31
83
|
```
|
32
84
|
|
@@ -218,81 +270,7 @@
|
|
218
270
|
|
219
271
|
|
220
272
|
|
221
|
-
|
273
|
+
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
```index.html
|
226
|
-
|
227
|
-
<!DOCTYPE html>
|
228
|
-
|
229
|
-
<html xmlns:th="http://www.thymeleaf.org">
|
230
|
-
|
231
|
-
<head>
|
232
|
-
|
233
|
-
<meta charset="UTF-8">
|
234
|
-
|
235
|
-
<title>一覧画面</title>
|
236
|
-
|
237
|
-
</head>
|
238
|
-
|
239
|
-
<body>
|
240
|
-
|
241
|
-
<h1>メンバーリスト</h1>
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
<table>
|
246
|
-
|
247
|
-
<thead>
|
248
|
-
|
249
|
-
<tr>
|
250
|
-
|
251
|
-
<th>ID</th>
|
252
|
-
|
253
|
-
<th>名前</th>
|
254
|
-
|
255
|
-
<th>年齢</th>
|
256
|
-
|
257
|
-
</tr>
|
258
|
-
|
259
|
-
</thead>
|
260
|
-
|
261
|
-
<tbody>
|
262
|
-
|
263
|
-
<tr th:each="member:${members}" th:object="${member}">
|
264
|
-
|
265
|
-
<td th:text="*{id}"></td>
|
266
|
-
|
267
|
-
<td th:text="*{name}"></td>
|
268
|
-
|
269
|
-
<td th:text="*{age}"></td>
|
270
|
-
|
271
|
-
<td><a class="btn btn-default btn-xs" th:href="@{/member/{id}/edit(id=*{id})}">編集</a></td>
|
272
|
-
|
273
|
-
<td>
|
274
|
-
|
275
|
-
<form th:action="@{/member/{id}(id=*{id})}" th:method="post">
|
276
|
-
|
277
|
-
<input type="submit" value="削除" />
|
278
|
-
|
279
|
-
</form>
|
280
|
-
|
281
|
-
</td>
|
282
|
-
|
283
|
-
</tr>
|
284
|
-
|
285
|
-
</tbody>
|
286
|
-
|
287
|
-
</table>
|
288
|
-
|
289
|
-
<a class="btn btn-default" href="/member/new">新規作成</a>
|
290
|
-
|
291
|
-
</body>
|
292
|
-
|
293
|
-
</html>
|
294
|
-
|
295
|
-
```
|
296
274
|
|
297
275
|
### 試したこと
|
298
276
|
|