質問編集履歴
1
pom.xmlのコードを追記しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -47,3 +47,121 @@
|
|
47
47
|
Spring Tool Suite 4 Version: 4.10.0.RELEASE
|
48
48
|
|
49
49
|
Windows10
|
50
|
+
|
51
|
+
|
52
|
+
|
53
|
+
###追記
|
54
|
+
|
55
|
+
pom.xmlとは、プロジェクトの一番下にあるものでよかったでしょうか?
|
56
|
+
|
57
|
+
間違っていたらすみません。
|
58
|
+
|
59
|
+
![イメージ説明](0902b64bbd60c0ef739c9b677bdda315.jpeg)
|
60
|
+
|
61
|
+
```.html
|
62
|
+
|
63
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
64
|
+
|
65
|
+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
66
|
+
|
67
|
+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
68
|
+
|
69
|
+
<modelVersion>4.0.0</modelVersion>
|
70
|
+
|
71
|
+
<parent>
|
72
|
+
|
73
|
+
<groupId>org.springframework.boot</groupId>
|
74
|
+
|
75
|
+
<artifactId>spring-boot-starter-parent</artifactId>
|
76
|
+
|
77
|
+
<version>2.4.5</version>
|
78
|
+
|
79
|
+
<relativePath/> <!-- lookup parent from repository -->
|
80
|
+
|
81
|
+
</parent>
|
82
|
+
|
83
|
+
<groupId>com.example</groupId>
|
84
|
+
|
85
|
+
<artifactId>spring-boot1</artifactId>
|
86
|
+
|
87
|
+
<version>0.0.1-SNAPSHOT</version>
|
88
|
+
|
89
|
+
<name>spring-boot1</name>
|
90
|
+
|
91
|
+
<description>Demo project for Spring Boot</description>
|
92
|
+
|
93
|
+
<properties>
|
94
|
+
|
95
|
+
<java.version>11</java.version>
|
96
|
+
|
97
|
+
</properties>
|
98
|
+
|
99
|
+
<dependencies>
|
100
|
+
|
101
|
+
<dependency>
|
102
|
+
|
103
|
+
<groupId>org.springframework.boot</groupId>
|
104
|
+
|
105
|
+
<artifactId>spring-boot-starter-thymeleaf</artifactId>
|
106
|
+
|
107
|
+
</dependency>
|
108
|
+
|
109
|
+
<dependency>
|
110
|
+
|
111
|
+
<groupId>org.springframework.boot</groupId>
|
112
|
+
|
113
|
+
<artifactId>spring-boot-starter-web</artifactId>
|
114
|
+
|
115
|
+
</dependency>
|
116
|
+
|
117
|
+
|
118
|
+
|
119
|
+
<dependency>
|
120
|
+
|
121
|
+
<groupId>org.springframework.boot</groupId>
|
122
|
+
|
123
|
+
<artifactId>spring-boot-devtools</artifactId>
|
124
|
+
|
125
|
+
<scope>runtime</scope>
|
126
|
+
|
127
|
+
<optional>true</optional>
|
128
|
+
|
129
|
+
</dependency>
|
130
|
+
|
131
|
+
<dependency>
|
132
|
+
|
133
|
+
<groupId>org.springframework.boot</groupId>
|
134
|
+
|
135
|
+
<artifactId>spring-boot-starter-test</artifactId>
|
136
|
+
|
137
|
+
<scope>test</scope>
|
138
|
+
|
139
|
+
</dependency>
|
140
|
+
|
141
|
+
</dependencies>
|
142
|
+
|
143
|
+
|
144
|
+
|
145
|
+
<build>
|
146
|
+
|
147
|
+
<plugins>
|
148
|
+
|
149
|
+
<plugin>
|
150
|
+
|
151
|
+
<groupId>org.springframework.boot</groupId>
|
152
|
+
|
153
|
+
<artifactId>spring-boot-maven-plugin</artifactId>
|
154
|
+
|
155
|
+
</plugin>
|
156
|
+
|
157
|
+
</plugins>
|
158
|
+
|
159
|
+
</build>
|
160
|
+
|
161
|
+
|
162
|
+
|
163
|
+
</project>
|
164
|
+
|
165
|
+
|
166
|
+
|
167
|
+
```
|