質問編集履歴
1
pom.xmlのコードを追記しました。
title
CHANGED
File without changes
|
body
CHANGED
@@ -22,4 +22,63 @@
|
|
22
22
|
### 補足情報(FW/ツールのバージョンなど)
|
23
23
|
|
24
24
|
Spring Tool Suite 4 Version: 4.10.0.RELEASE
|
25
|
-
Windows10
|
25
|
+
Windows10
|
26
|
+
|
27
|
+
###追記
|
28
|
+
pom.xmlとは、プロジェクトの一番下にあるものでよかったでしょうか?
|
29
|
+
間違っていたらすみません。
|
30
|
+

|
31
|
+
```.html
|
32
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
33
|
+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
34
|
+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
35
|
+
<modelVersion>4.0.0</modelVersion>
|
36
|
+
<parent>
|
37
|
+
<groupId>org.springframework.boot</groupId>
|
38
|
+
<artifactId>spring-boot-starter-parent</artifactId>
|
39
|
+
<version>2.4.5</version>
|
40
|
+
<relativePath/> <!-- lookup parent from repository -->
|
41
|
+
</parent>
|
42
|
+
<groupId>com.example</groupId>
|
43
|
+
<artifactId>spring-boot1</artifactId>
|
44
|
+
<version>0.0.1-SNAPSHOT</version>
|
45
|
+
<name>spring-boot1</name>
|
46
|
+
<description>Demo project for Spring Boot</description>
|
47
|
+
<properties>
|
48
|
+
<java.version>11</java.version>
|
49
|
+
</properties>
|
50
|
+
<dependencies>
|
51
|
+
<dependency>
|
52
|
+
<groupId>org.springframework.boot</groupId>
|
53
|
+
<artifactId>spring-boot-starter-thymeleaf</artifactId>
|
54
|
+
</dependency>
|
55
|
+
<dependency>
|
56
|
+
<groupId>org.springframework.boot</groupId>
|
57
|
+
<artifactId>spring-boot-starter-web</artifactId>
|
58
|
+
</dependency>
|
59
|
+
|
60
|
+
<dependency>
|
61
|
+
<groupId>org.springframework.boot</groupId>
|
62
|
+
<artifactId>spring-boot-devtools</artifactId>
|
63
|
+
<scope>runtime</scope>
|
64
|
+
<optional>true</optional>
|
65
|
+
</dependency>
|
66
|
+
<dependency>
|
67
|
+
<groupId>org.springframework.boot</groupId>
|
68
|
+
<artifactId>spring-boot-starter-test</artifactId>
|
69
|
+
<scope>test</scope>
|
70
|
+
</dependency>
|
71
|
+
</dependencies>
|
72
|
+
|
73
|
+
<build>
|
74
|
+
<plugins>
|
75
|
+
<plugin>
|
76
|
+
<groupId>org.springframework.boot</groupId>
|
77
|
+
<artifactId>spring-boot-maven-plugin</artifactId>
|
78
|
+
</plugin>
|
79
|
+
</plugins>
|
80
|
+
</build>
|
81
|
+
|
82
|
+
</project>
|
83
|
+
|
84
|
+
```
|