質問編集履歴

4

追記

2021/02/01 00:31

投稿

SD.KJ
SD.KJ

スコア4

test CHANGED
File without changes
test CHANGED
@@ -46,75 +46,7 @@
46
46
 
47
47
  </parent>
48
48
 
49
- <groupId>com.example</groupId>
49
+
50
-
51
- <artifactId>demo</artifactId>
52
-
53
- <version>0.0.1-SNAPSHOT</version>
54
-
55
- <name>demo</name>
56
-
57
- <description>Demo project for Spring Boot</description>
58
-
59
- <properties>
60
-
61
- <java.version>11</java.version>
62
-
63
- </properties>
64
-
65
- <dependencies>
66
-
67
- <dependency>
68
-
69
- <groupId>org.springframework.boot</groupId>
70
-
71
- <artifactId>spring-boot-starter-thymeleaf</artifactId>
72
-
73
- </dependency>
74
-
75
- <dependency>
76
-
77
- <groupId>org.springframework.boot</groupId>
78
-
79
- <artifactId>spring-boot-starter-web</artifactId>
80
-
81
- </dependency>
82
-
83
-
84
-
85
- <dependency>
86
-
87
- <groupId>org.springframework.boot</groupId>
88
-
89
- <artifactId>spring-boot-starter-test</artifactId>
90
-
91
- <scope>test</scope>
92
-
93
- </dependency>
94
-
95
- </dependencies>
96
-
97
-
98
-
99
- <build>
100
-
101
- <plugins>
102
-
103
- <plugin>
104
-
105
- <groupId>org.springframework.boot</groupId>
106
-
107
- <artifactId>spring-boot-maven-plugin</artifactId>
108
-
109
- </plugin>
110
-
111
- </plugins>
112
-
113
- </build>
114
-
115
-
116
-
117
- </project>
118
50
 
119
51
  ```
120
52
 
@@ -147,3 +79,197 @@
147
79
 
148
80
 
149
81
  原因、対処法がわかる方ご教授お願い致します。
82
+
83
+ **追記**
84
+
85
+ ```setting.xml
86
+
87
+ <?xml version="1.0" encoding="UTF-8"?>
88
+
89
+
90
+
91
+ <!--
92
+
93
+ Licensed to the Apache Software Foundation (ASF) under one
94
+
95
+ or more contributor license agreements. See the NOTICE file
96
+
97
+ distributed with this work for additional information
98
+
99
+ regarding copyright ownership. The ASF licenses this file
100
+
101
+ to you under the Apache License, Version 2.0 (the
102
+
103
+ "License"); you may not use this file except in compliance
104
+
105
+ with the License. You may obtain a copy of the License at
106
+
107
+
108
+
109
+ http://www.apache.org/licenses/LICENSE-2.0
110
+
111
+
112
+
113
+ Unless required by applicable law or agreed to in writing,
114
+
115
+ software distributed under the License is distributed on an
116
+
117
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
118
+
119
+ KIND, either express or implied. See the License for the
120
+
121
+ specific language governing permissions and limitations
122
+
123
+ under the License.
124
+
125
+ -->
126
+
127
+
128
+
129
+ <!--
130
+
131
+ | This is the configuration file for Maven. It can be specified at two levels:
132
+
133
+ |
134
+
135
+ | 1. User Level. This settings.xml file provides configuration for a single user,
136
+
137
+ | and is normally provided in ${user.home}/.m2/settings.xml.
138
+
139
+ |
140
+
141
+ | NOTE: This location can be overridden with the CLI option:
142
+
143
+ |
144
+
145
+ | -s /path/to/user/settings.xml
146
+
147
+ |
148
+
149
+ | 2. Global Level. This settings.xml file provides configuration for all Maven
150
+
151
+ | users on a machine (assuming they're all using the same Maven
152
+
153
+ | installation). It's normally provided in
154
+
155
+ | ${maven.conf}/settings.xml.
156
+
157
+ |
158
+
159
+ | NOTE: This location can be overridden with the CLI option:
160
+
161
+ |
162
+
163
+ | -gs /path/to/global/settings.xml
164
+
165
+ |
166
+
167
+ | The sections in this sample file are intended to give you a running start at
168
+
169
+ | getting the most out of your Maven installation. Where appropriate, the default
170
+
171
+ | values (values used when the setting is not specified) are provided.
172
+
173
+ |
174
+
175
+ |-->
176
+
177
+ <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
178
+
179
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
180
+
181
+ xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
182
+
183
+ <!-- localRepository
184
+
185
+ | The path to the local repository maven will use to store artifacts.
186
+
187
+ |
188
+
189
+ | Default: ${user.home}/.m2/repository
190
+
191
+ <localRepository>/path/to/local/repo</localRepository>
192
+
193
+ -->
194
+
195
+
196
+
197
+ <!-- interactiveMode
198
+
199
+ | This will determine whether maven prompts you when it needs input. If set to false,
200
+
201
+ | maven will use a sensible default value, perhaps based on some other setting, for
202
+
203
+ | the parameter in question.
204
+
205
+ |
206
+
207
+ | Default: true
208
+
209
+ <interactiveMode>true</interactiveMode>
210
+
211
+ -->
212
+
213
+
214
+
215
+ <!-- offline
216
+
217
+ | Determines whether maven should attempt to connect to the network when executing a build.
218
+
219
+ | This will have an effect on artifact downloads, artifact deployment, and others.
220
+
221
+ |
222
+
223
+ | Default: false
224
+
225
+ <offline>false</offline>
226
+
227
+ -->
228
+
229
+
230
+
231
+ <!-- pluginGroups
232
+
233
+ | This is a list of additional group identifiers that will be searched when resolving plugins by their prefix, i.e.
234
+
235
+ | when invoking a command line like "mvn prefix:goal". Maven will automatically add the group identifiers
236
+
237
+ | "org.apache.maven.plugins" and "org.codehaus.mojo" if these are not already contained in the list.
238
+
239
+ |-->
240
+
241
+ <pluginGroups>
242
+
243
+ <!-- pluginGroup
244
+
245
+ | Specifies a further group identifier to use for plugin lookup.
246
+
247
+ <pluginGroup>com.your.plugins</pluginGroup>
248
+
249
+ -->
250
+
251
+ </pluginGroups>
252
+
253
+
254
+
255
+ <!-- proxies
256
+
257
+ | This is a list of proxies which can be used on this machine to connect to the network.
258
+
259
+ | Unless otherwise specified (by system property or command-line switch), the first proxy
260
+
261
+ | specification in this list marked as active will be used.
262
+
263
+ |-->
264
+
265
+ <proxies>
266
+
267
+
268
+
269
+ 【省略・・・】
270
+
271
+
272
+
273
+
274
+
275
+ ```

3

誤字

2021/02/01 00:31

投稿

SD.KJ
SD.KJ

スコア4

test CHANGED
@@ -1 +1 @@
1
- VScode Springプロジェクト作成 pom.xmlエラー
1
+ VScode Springプロジェクト作成 pom.xmlエラー
test CHANGED
File without changes

2

環境情報追加

2021/01/28 04:06

投稿

SD.KJ
SD.KJ

スコア4

test CHANGED
File without changes
test CHANGED
@@ -140,6 +140,10 @@
140
140
 
141
141
  VScode:1.52.1
142
142
 
143
+ Java Extension Pack:v0.12.1
144
+
145
+ Spring Boot Extension Pack:v0.0.8
146
+
143
147
 
144
148
 
145
149
  原因、対処法がわかる方ご教授お願い致します。

1

リンクの修正

2021/01/28 01:03

投稿

SD.KJ
SD.KJ

スコア4

test CHANGED
File without changes
test CHANGED
@@ -6,9 +6,7 @@
6
6
 
7
7
 
8
8
 
9
- https://tech-lab.sios.jp/archives/19941
9
+ [Springboot HelloWorld](https://tech-lab.sios.jp/archives/19941)
10
-
11
-
12
10
 
13
11
  ### 発生している問題・エラーメッセージ
14
12