質問編集履歴
1
アドバイスによる修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -123,4 +123,47 @@
|
|
123
123
|
|
124
124
|
今はコマンドプロンプト上から必要なjarをインストールすることが出来ますが、Eclipseからpom.xmlで指定したライブラリーをインストールしたいです。
|
125
125
|
|
126
|
-
アドバイスよろしくお願い致します。
|
126
|
+
アドバイスよろしくお願い致します。
|
127
|
+
|
128
|
+
###A-pZさんのアドバイスより
|
129
|
+
- 実行したこと
|
130
|
+
・Spring Initializrからプロジェクト生成
|
131
|
+
・改行コードをCRLFに置換
|
132
|
+
→Demo6Application.java/Demo6ApplicationTests.java
|
133
|
+
・pom.xmlの修正(<properties>の一部コメントアウト)
|
134
|
+
|
135
|
+
~ Eclipseにプロジェクトをインポート ~
|
136
|
+

|
137
|
+
|
138
|
+
・ローカルリポジトリから「…spring-boot-starter\1.3.6.RELEASE」を削除
|
139
|
+
・Eclipseよりmaven clean を行ったところエラーがでました
|
140
|
+
|
141
|
+
Downloadの部分でエラーが発生していますが、Eclipseのネットワークは正しく設定できています。(マーケットプレースは問題なく使えます)
|
142
|
+
m2eでsetting.xmlのプロキシ設定が読み込めないことがあると聞きましたが、これが原因でしょうか。
|
143
|
+
|
144
|
+
お手数お掛けしますが、よろしくお願い致します。
|
145
|
+
|
146
|
+
###maven clean実行時のエラーメッセージ
|
147
|
+
```
|
148
|
+
[WARNING]
|
149
|
+
[WARNING] Some problems were encountered while building the effective settings
|
150
|
+
[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
|
151
|
+
[WARNING]
|
152
|
+
[INFO] Scanning for projects...
|
153
|
+
[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
|
154
|
+
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
|
155
|
+
[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
|
156
|
+
@
|
157
|
+
[ERROR] The build could not read 1 project -> [Help 1]
|
158
|
+
[ERROR]
|
159
|
+
[ERROR] The project com.example:demo6:0.0.1-SNAPSHOT (C:\Users\ncb.aokic\demo6\pom.xml) has 1 error
|
160
|
+
[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]
|
161
|
+
[ERROR]
|
162
|
+
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
|
163
|
+
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
|
164
|
+
[ERROR]
|
165
|
+
[ERROR] For more information about the errors and possible solutions, please read the following articles:
|
166
|
+
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
|
167
|
+
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
|
168
|
+
|
169
|
+
```
|