質問編集履歴
2
情報加筆
title
CHANGED
File without changes
|
body
CHANGED
@@ -52,6 +52,47 @@
|
|
52
52
|
|
53
53
|
```
|
54
54
|
|
55
|
+
コンソール出力
|
56
|
+
```
|
57
|
+
. ____ _ __ _ _
|
58
|
+
/\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
|
59
|
+
( ( )\___ | '_ | '_| | '_ / _` | \ \ \ \
|
60
|
+
\/ ___)| |_)| | | | | || (_| | ) ) ) )
|
61
|
+
' |____| .__|_| |_|_| |_\__, | / / / /
|
62
|
+
=========|_|==============|___/=/_/_/_/
|
63
|
+
:: Spring Boot :: (v2.3.2.RELEASE)
|
64
|
+
|
65
|
+
2020-08-16 02:22:46.416 INFO 54694 --- [ restartedMain] com.example.demo.DemoApplication : Starting DemoApplication on MacBook-Pro-103.local with PID 54694 (/Users/teruhisashibuya/Documents/workspace-spring-tool-suite-4-4.7.1.RELEASE/demo/target/classes started by teruhisashibuya in /Users/teruhisashibuya/Documents/workspace-spring-tool-suite-4-4.7.1.RELEASE/demo)
|
66
|
+
2020-08-16 02:22:46.417 INFO 54694 --- [ restartedMain] com.example.demo.DemoApplication : No active profile set, falling back to default profiles: default
|
67
|
+
2020-08-16 02:22:46.452 INFO 54694 --- [ restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable
|
68
|
+
2020-08-16 02:22:46.453 INFO 54694 --- [ restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG'
|
69
|
+
2020-08-16 02:22:46.933 INFO 54694 --- [ restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFERRED mode.
|
70
|
+
2020-08-16 02:22:46.953 INFO 54694 --- [ restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 9ms. Found 0 JPA repository interfaces.
|
71
|
+
2020-08-16 02:22:47.375 INFO 54694 --- [ restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http)
|
72
|
+
2020-08-16 02:22:47.384 INFO 54694 --- [ restartedMain] o.apache.catalina.core.StandardService : Starting service [Tomcat]
|
73
|
+
2020-08-16 02:22:47.384 INFO 54694 --- [ restartedMain] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.37]
|
74
|
+
2020-08-16 02:22:47.462 INFO 54694 --- [ restartedMain] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
|
75
|
+
2020-08-16 02:22:47.462 INFO 54694 --- [ restartedMain] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1009 ms
|
76
|
+
2020-08-16 02:22:47.489 INFO 54694 --- [ restartedMain] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
|
77
|
+
2020-08-16 02:22:47.591 INFO 54694 --- [ restartedMain] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed.
|
78
|
+
2020-08-16 02:22:47.596 INFO 54694 --- [ restartedMain] o.s.b.a.h2.H2ConsoleAutoConfiguration : H2 console available at '/h2-console'. Database available at 'jdbc:h2:mem:b17b2c5f-c0d7-46d1-91fc-ed7d49959453'
|
79
|
+
2020-08-16 02:22:47.708 INFO 54694 --- [ restartedMain] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor'
|
80
|
+
2020-08-16 02:22:47.746 INFO 54694 --- [ task-1] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default]
|
81
|
+
2020-08-16 02:22:47.768 WARN 54694 --- [ 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
|
82
|
+
2020-08-16 02:22:47.784 INFO 54694 --- [ task-1] org.hibernate.Version : HHH000412: Hibernate ORM core version 5.4.18.Final
|
83
|
+
2020-08-16 02:22:47.886 INFO 54694 --- [ task-1] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.1.0.Final}
|
84
|
+
2020-08-16 02:22:47.962 INFO 54694 --- [ task-1] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
|
85
|
+
2020-08-16 02:22:48.042 INFO 54694 --- [ restartedMain] o.s.b.d.a.OptionalLiveReloadServer : LiveReload server is running on port 35729
|
86
|
+
2020-08-16 02:22:48.093 INFO 54694 --- [ restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path ''
|
87
|
+
2020-08-16 02:22:48.095 INFO 54694 --- [ restartedMain] DeferredRepositoryInitializationListener : Triggering deferred initialization of Spring Data repositories…
|
88
|
+
2020-08-16 02:22:48.095 INFO 54694 --- [ restartedMain] DeferredRepositoryInitializationListener : Spring Data repositories initialized!
|
89
|
+
2020-08-16 02:22:48.104 INFO 54694 --- [ restartedMain] com.example.demo.DemoApplication : Started DemoApplication in 1.903 seconds (JVM running for 2.543)
|
90
|
+
2020-08-16 02:22:48.109 INFO 54694 --- [ task-1] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
|
91
|
+
2020-08-16 02:22:48.115 INFO 54694 --- [ task-1] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
|
92
|
+
|
93
|
+
コード
|
94
|
+
```
|
95
|
+
|
55
96
|
ファイル構成
|
56
97
|

|
57
98
|
|
1
脱字
title
CHANGED
File without changes
|
body
CHANGED
@@ -29,7 +29,7 @@
|
|
29
29
|
|
30
30
|
@GetMapping("/hello")
|
31
31
|
public ModelAndView goHello(ModelAndView mav) {
|
32
|
-
mav.setViewName("
|
32
|
+
mav.setViewName("hello");
|
33
33
|
return mav;
|
34
34
|
}
|
35
35
|
|