質問編集履歴

1

springbootのコンソールを追加しました。

2021/01/15 01:01

投稿

Seiji1207
Seiji1207

スコア0

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
- Whitelabel Error Page
20
-
21
- This application has no explicit mapping for /error, so you are seeing this as a fallback.
22
-
23
-
24
-
25
- Thu Jan 14 11:44:22 JST 2021
26
-
27
- There was an unexpected error (type=Not Found, status=404).
28
-
29
- No message available
23
+ 2021-01-15 09:50:47.456  INFO 2843 --- [ restartedMain] team.Member1Application  : 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
+ 2021-01-15 09:50:47.458  INFO 2843 --- [ restartedMain] team.Member1Application  : No active profile set, falling back to default profiles: default
26
+
27
+ 2021-01-15 09:50:47.532  INFO 2843 --- [ restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable
28
+
29
+ 2021-01-15 09:50:47.533  INFO 2843 --- [ restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG'
30
+
31
+ 2021-01-15 09:50:48.150  INFO 2843 --- [ restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
32
+
33
+ 2021-01-15 09:50:48.160  INFO 2843 --- [ restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 3 ms. Found 0 JPA repository interfaces.
34
+
35
+ 2021-01-15 09:50:48.260  WARN 2843 --- [ restartedMain] o.m.s.mapper.ClassPathMapperScanner  : No MyBatis mapper was found in '[team]' package. Please check your configuration.
36
+
37
+ 2021-01-15 09:50:48.602  INFO 2843 --- [ restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port(s): 8080 (http)
38
+
39
+ 2021-01-15 09:50:48.612  INFO 2843 --- [ restartedMain] o.apache.catalina.core.StandardService  : Starting service [Tomcat]
40
+
41
+ 2021-01-15 09:50:48.612  INFO 2843 --- [ restartedMain] org.apache.catalina.core.StandardEngine  : Starting Servlet engine: [Apache Tomcat/9.0.41]
42
+
43
+ 2021-01-15 09:50:48.691  INFO 2843 --- [ restartedMain] o.a.c.c.C.[Tomcat].[localhost].[/]  : Initializing Spring embedded WebApplicationContext
44
+
45
+ 2021-01-15 09:50:48.692  INFO 2843 --- [ restartedMain] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1157 ms
46
+
47
+ 2021-01-15 09:50:48.811  INFO 2843 --- [ restartedMain] com.zaxxer.hikari.HikariDataSource  : HikariPool-1 - Starting...
48
+
49
+ 2021-01-15 09:50:49.131  INFO 2843 --- [ restartedMain] com.zaxxer.hikari.HikariDataSource  : HikariPool-1 - Start completed.
50
+
51
+ 2021-01-15 09:50:49.180  INFO 2843 --- [ restartedMain] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
52
+
53
+ 2021-01-15 09:50:49.219  INFO 2843 --- [ restartedMain] org.hibernate.Version  : HHH000412: Hibernate ORM core version 5.4.25.Final
54
+
55
+ 2021-01-15 09:50:49.311  INFO 2843 --- [ restartedMain] o.hibernate.annotations.common.Version  : HCANN000001: Hibernate Commons Annotations {5.1.2.Final}
56
+
57
+ 2021-01-15 09:50:49.397  INFO 2843 --- [ restartedMain] org.hibernate.dialect.Dialect  : HHH000400: Using dialect: org.hibernate.dialect.MySQL57Dialect
58
+
59
+ 2021-01-15 09:50:49.529  INFO 2843 --- [ restartedMain] o.h.e.t.j.p.i.JtaPlatformInitiator  : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
60
+
61
+ 2021-01-15 09:50:49.539  INFO 2843 --- [ restartedMain] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
62
+
63
+ 2021-01-15 09:50:49.595  WARN 2843 --- [ restartedMain] JpaBaseConfiguration$JpaWebConfiguration : 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
+ 2021-01-15 09:50:49.710  INFO 2843 --- [ restartedMain] o.s.s.concurrent.ThreadPoolTaskExecutor  : Initializing ExecutorService 'applicationTaskExecutor'
66
+
67
+ 2021-01-15 09:50:49.760  INFO 2843 --- [ restartedMain] o.s.b.a.w.s.WelcomePageHandlerMapping  : Adding welcome page template: index
68
+
69
+ 2021-01-15 09:50:49.929  INFO 2843 --- [ restartedMain] o.s.b.d.a.OptionalLiveReloadServer  : LiveReload server is running on port 35729
70
+
71
+ 2021-01-15 09:50:49.974  INFO 2843 --- [ restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port(s): 8080 (http) with context path ''
72
+
73
+ 2021-01-15 09:50:49.984  INFO 2843 --- [ restartedMain] team.Member1Application  : Started Member1Application in 2.776 seconds (JVM running for 8.649)
74
+
75
+ 2021-01-15 09:51:07.119  INFO 2843 --- [nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/]  : Initializing Spring DispatcherServlet 'dispatcherServlet'
76
+
77
+ 2021-01-15 09:51:07.120  INFO 2843 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet  : Initializing Servlet 'dispatcherServlet'
78
+
79
+ 2021-01-15 09:51:07.121  INFO 2843 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet  : 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