質問編集履歴

3

スターター情報を追加

2022/12/22 06:28

投稿

kuroinu
kuroinu

スコア2

test CHANGED
File without changes
test CHANGED
@@ -162,7 +162,11 @@
162
162
  ### 補足情報(FW/ツールのバージョンなど)
163
163
 
164
164
  JRE : jdk-17.0.5.8-hotspot
165
- org.springframework.boot : 3.0.0
166
165
  Eclipse IDE : 2022-12 (4.26.0)
166
+ Spring スターター・プロジェクト
167
- maven
167
+  タイプ : Maven
168
+  Spring Bootバージョン : 3.0.0
169
+  選択 : Spring Boot DevTools, Thymeleaf, Spring Web( Web)
168
170
 
171
+
172
+

2

pomの記載

2022/12/22 00:33

投稿

kuroinu
kuroinu

スコア2

test CHANGED
File without changes
test CHANGED
@@ -98,7 +98,60 @@
98
98
  </body>
99
99
  </html>
100
100
  ```
101
+ pom.xml
102
+ ```xml
103
+ <?xml version="1.0" encoding="UTF-8"?>
104
+ <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
105
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
106
+ <modelVersion>4.0.0</modelVersion>
107
+ <parent>
108
+ <groupId>org.springframework.boot</groupId>
109
+ <artifactId>spring-boot-starter-parent</artifactId>
110
+ <version>3.0.0</version>
111
+ <relativePath/> <!-- lookup parent from repository -->
112
+ </parent>
113
+ <groupId>com.example</groupId>
114
+ <artifactId>spring-boot1</artifactId>
115
+ <version>0.0.1-SNAPSHOT</version>
116
+ <name>spring-boot1</name>
117
+ <description>Demo project for Spring Boot</description>
118
+ <properties>
119
+ <java.version>17</java.version>
120
+ </properties>
121
+ <dependencies>
122
+ <dependency>
123
+ <groupId>org.springframework.boot</groupId>
124
+ <artifactId>spring-boot-starter-thymeleaf</artifactId>
125
+ </dependency>
126
+ <dependency>
127
+ <groupId>org.springframework.boot</groupId>
128
+ <artifactId>spring-boot-starter-web</artifactId>
129
+ </dependency>
101
130
 
131
+ <dependency>
132
+ <groupId>org.springframework.boot</groupId>
133
+ <artifactId>spring-boot-devtools</artifactId>
134
+ <scope>runtime</scope>
135
+ <optional>true</optional>
136
+ </dependency>
137
+ <dependency>
138
+ <groupId>org.springframework.boot</groupId>
139
+ <artifactId>spring-boot-starter-test</artifactId>
140
+ <scope>test</scope>
141
+ </dependency>
142
+ </dependencies>
143
+
144
+ <build>
145
+ <plugins>
146
+ <plugin>
147
+ <groupId>org.springframework.boot</groupId>
148
+ <artifactId>spring-boot-maven-plugin</artifactId>
149
+ </plugin>
150
+ </plugins>
151
+ </build>
152
+
153
+ </project>
154
+ ```
102
155
 
103
156
  ### 試したこと
104
157
 
@@ -111,4 +164,5 @@
111
164
  JRE : jdk-17.0.5.8-hotspot
112
165
  org.springframework.boot : 3.0.0
113
166
  Eclipse IDE : 2022-12 (4.26.0)
167
+ maven
114
168
 

1

タイトル変更

2022/12/21 15:19

投稿

kuroinu
kuroinu

スコア2

test CHANGED
@@ -1 +1 @@
1
- テンプレートと連携したい
1
+ Spring Boot でテンプレートと連携したい
test CHANGED
File without changes