質問編集履歴

1

アドバイスによる修正

2016/07/19 01:49

投稿

Chi
Chi

score15

test CHANGED
File without changes
test CHANGED
@@ -249,3 +249,89 @@
249
249
 
250
250
 
251
251
  アドバイスよろしくお願い致します。
252
+
253
+
254
+
255
+ ###A-pZさんのアドバイスより
256
+
257
+ - 実行したこと
258
+
259
+ ・Spring Initializrからプロジェクト生成
260
+
261
+ ・改行コードをCRLFに置換
262
+
263
+ →Demo6Application.java/Demo6ApplicationTests.java
264
+
265
+ ・pom.xmlの修正(<properties>の一部コメントアウト)
266
+
267
+
268
+
269
+ ~ Eclipseにプロジェクトをインポート ~
270
+
271
+ ![プロジェクトのディレクトリ構成](2bc9dac9838b09bfbd829306a8ee491d.png)
272
+
273
+
274
+
275
+ ・ローカルリポジトリから「…spring-boot-starter\1.3.6.RELEASE」を削除
276
+
277
+ ・Eclipseよりmaven clean を行ったところエラーがでました
278
+
279
+
280
+
281
+ Downloadの部分でエラーが発生していますが、Eclipseのネットワークは正しく設定できています。(マーケットプレースは問題なく使えます)
282
+
283
+ m2eでsetting.xmlのプロキシ設定が読み込めないことがあると聞きましたが、これが原因でしょうか。
284
+
285
+
286
+
287
+ お手数お掛けしますが、よろしくお願い致します。
288
+
289
+
290
+
291
+ ###maven clean実行時のエラーメッセージ
292
+
293
+ ```
294
+
295
+ [WARNING]
296
+
297
+ [WARNING] Some problems were encountered while building the effective settings
298
+
299
+ [WARNING] expected START_TAG or END_TAG not TEXT (position: TEXT seen ...</nonProxyHosts> -->\n\t</... @47:4) @ C:\Users\ncb.aokic\.m2\settings.xml, line 47, column 4
300
+
301
+ [WARNING]
302
+
303
+ [INFO] Scanning for projects...
304
+
305
+ [INFO] Downloading: https://repo.maven.apache.org/maven2/org/springframework/boot/spring-boot-starter-parent/1.3.6.RELEASE/spring-boot-starter-parent-1.3.6.RELEASE.pom
306
+
307
+ [ERROR] [ERROR] Some problems were encountered while processing the POMs:
308
+
309
+ [FATAL] Non-resolvable parent POM for com.example:demo6:0.0.1-SNAPSHOT: Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:1.3.6.RELEASE from/to central (https://repo.maven.apache.org/maven2): Failed to authenticate with proxy and 'parent.relativePath' points at no local POM @ line 14, column 10
310
+
311
+ @
312
+
313
+ [ERROR] The build could not read 1 project -> [Help 1]
314
+
315
+ [ERROR]
316
+
317
+ [ERROR] The project com.example:demo6:0.0.1-SNAPSHOT (C:\Users\ncb.aokic\demo6\pom.xml) has 1 error
318
+
319
+ [ERROR] Non-resolvable parent POM for com.example:demo6:0.0.1-SNAPSHOT: Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:1.3.6.RELEASE from/to central (https://repo.maven.apache.org/maven2): Failed to authenticate with proxy and 'parent.relativePath' points at no local POM @ line 14, column 10 -> [Help 2]
320
+
321
+ [ERROR]
322
+
323
+ [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
324
+
325
+ [ERROR] Re-run Maven using the -X switch to enable full debug logging.
326
+
327
+ [ERROR]
328
+
329
+ [ERROR] For more information about the errors and possible solutions, please read the following articles:
330
+
331
+ [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
332
+
333
+ [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
334
+
335
+
336
+
337
+ ```