質問するログイン新規登録

質問編集履歴

1

pom.xml追加しました。よろしくお願いいたします。

2019/11/17 11:58

投稿

退会済みユーザー
title CHANGED
File without changes
body CHANGED
@@ -43,7 +43,7 @@
43
43
  </html>
44
44
 
45
45
 
46
- アプリ実行でのコンソール
46
+ Spring bootアプリケーション実行でのコンソール
47
47
  Java HotSpot(TM) 64-Bit Server VM warning: Options -Xverify:none and -noverify were deprecated in JDK 13 and will likely be removed in a future release.
48
48
 
49
49
  . ____ _ __ _ _
@@ -68,6 +68,66 @@
68
68
  2019-11-17 20:41:55.071 INFO 11688 --- [ restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path ''
69
69
  2019-11-17 20:41:55.071 INFO 11688 --- [ restartedMain] com.example.demo.Application : Started Application in 2.547 seconds (JVM running for 3.725)
70
70
 
71
+ pom.xml
72
+ <?xml version="1.0" encoding="UTF-8"?>
73
+ <project xmlns="http://maven.apache.org/POM/4.0.0"
74
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
75
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
76
+ <modelVersion>4.0.0</modelVersion>
77
+ <parent>
78
+ <groupId>org.springframework.boot</groupId>
79
+ <artifactId>spring-boot-starter-parent</artifactId>
80
+ <version>2.2.1.RELEASE</version>
81
+ <relativePath /> <!-- lookup parent from repository -->
82
+ </parent>
83
+ <groupId>com.example</groupId>
84
+ <artifactId>Spring</artifactId>
85
+ <version>0.0.1-SNAPSHOT</version>
86
+ <name>Spring</name>
87
+ <description>Demo project for Spring Boot</description>
88
+
89
+ <properties>
90
+ <java.version>13</java.version>
91
+ </properties>
92
+
93
+ <dependencies>
94
+ <dependency>
95
+ <groupId>org.springframework.boot</groupId>
96
+ <artifactId>spring-boot-starter-web</artifactId>
97
+ </dependency>
98
+ <dependency>
99
+ <groupId>org.springframework.boot</groupId>
100
+ <artifactId>spring-boot-starter-thymeleaf</artifactId>
101
+ </dependency>
102
+ <dependency>
103
+ <groupId>org.springframework.boot</groupId>
104
+ <artifactId>spring-boot-devtools</artifactId>
105
+ </dependency>
106
+ <dependency>
107
+ <groupId>org.springframework.boot</groupId>
108
+ <artifactId>spring-boot-starter-test</artifactId>
109
+ <scope>test</scope>
110
+ <exclusions>
111
+ <exclusion>
112
+ <groupId>org.junit.vintage</groupId>
113
+ <artifactId>junit-vintage-engine</artifactId>
114
+ </exclusion>
115
+ </exclusions>
116
+ </dependency>
117
+ </dependencies>
118
+
119
+ <build>
120
+ <plugins>
121
+ <plugin>
122
+ <groupId>org.springframework.boot</groupId>
123
+ <artifactId>spring-boot-maven-plugin</artifactId>
124
+ </plugin>
125
+ </plugins>
126
+ </build>
127
+
128
+ </project>
129
+
130
+
71
131
  ### 試したこと
72
132
  Chromeでhttp://localhost:8080/を入力
73
133