2016-08-05 22 views
1

eclipse用のmavenプラグインm2eをインストールしました。 central | indexのインデックスを更新できません。 http://repo1.maven.org/maven2EclipseのMavenプラグインエラー

私はインディゴで多くのソリューションを試しましたが、私のためには機能しませんでした。 settings.xmlファイルはありません。プロキシ設定を手動で作成して編集しようとしました。私は別のMavenプラグインのインストールを持っています。誰かが問題を解決するのに役立つことがありますか?どうもありがとうございました。

いるSettings.xml:

enter image description here .pluginフォルダ構造:

enter image description here

エラー:

!SESSION 2016-08-05 08:05:16.128 ----------------------------------------------- 
eclipse.buildId=M20120208-0800 
java.version=1.7.0_51 
java.vendor=Oracle Corporation 
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US 
Command-line arguments: -os win32 -ws win32 -arch x86_64 

!ENTRY org.eclipse.core.net 1 0 2016-08-05 08:16:30.768 
!MESSAGE System property https.proxyHost is set to 172.16.0.9 but should not be set. 

!ENTRY org.eclipse.core.net 1 0 2016-08-05 08:16:30.783 
!MESSAGE System property https.proxyPort is set to 8080 but should not be set. 

!ENTRY org.eclipse.core.net 1 0 2016-08-05 08:16:36.130 
!MESSAGE System property https.proxyHost is set to 172.16.0.9 but should not be set. 

!ENTRY org.eclipse.core.net 1 0 2016-08-05 08:16:36.131 
!MESSAGE System property https.proxyPort is set to 8080 but should not be set. 

!ENTRY org.eclipse.core.net 1 0 2016-08-05 08:16:36.142 
!MESSAGE System property https.proxyHost is set to 172.16.0.9 but should not be set. 

!ENTRY org.eclipse.core.net 1 0 2016-08-05 08:16:36.143 
!MESSAGE System property https.proxyPort is set to 8080 but should not be set. 

!ENTRY org.eclipse.m2e.logback.appender 2 0 2016-08-05 08:19:47.894 
!MESSAGE Failed to dispatch repository event to org.eclipse.m2e.core.internal.embedder.EclipseRepositoryListener: null 

!ENTRY org.eclipse.m2e.logback.appender 2 0 2016-08-05 08:19:57.900 
!MESSAGE AsyncHttpClient.close() hasn't been invoked, which may produce file descriptor leaks 

!ENTRY org.eclipse.m2e.logback.appender 2 0 2016-08-05 08:19:57.901 
!MESSAGE AsyncHttpClient.close() hasn't been invoked, which may produce file descriptor leaks 

!ENTRY org.eclipse.m2e.logback.appender 2 0 2016-08-05 08:19:57.902 
!MESSAGE AsyncHttpClient.close() hasn't been invoked, which may produce file descriptor leaks 

!ENTRY org.eclipse.m2e.logback.appender 2 0 2016-08-05 08:19:57.902 
!MESSAGE AsyncHttpClient.close() hasn't been invoked, which may produce file descriptor leaks 

!ENTRY org.eclipse.m2e.logback.appender 2 0 2016-08-05 08:19:57.903 
!MESSAGE AsyncHttpClient.close() hasn't been invoked, which may produce file descriptor leaks 

!ENTRY org.eclipse.m2e.logback.appender 2 0 2016-08-05 08:19:57.903 
!MESSAGE AsyncHttpClient.close() hasn't been invoked, which may produce file descriptor leaks 

!ENTRY org.eclipse.m2e.logback.appender 2 0 2016-08-05 08:19:57.904 
!MESSAGE AsyncHttpClient.close() hasn't been invoked, which may produce file descriptor leaks 

!ENTRY org.eclipse.m2e.logback.appender 2 0 2016-08-05 08:20:23.211 
!MESSAGE Failed to dispatch repository event to org.eclipse.m2e.core.internal.embedder.EclipseRepositoryListener: null 

!ENTRY org.eclipse.ui 4 4 2016-08-05 08:23:20.101 
!MESSAGE Invalid preference page path: XML Syntax 

!ENTRY org.eclipse.core.jobs 2 2 2016-08-05 08:23:20.832 
!MESSAGE Job found still running after platform shutdown. Jobs should be canceled by the plugin that scheduled them during shutdown: org.eclipse.m2e.core.internal.index.nexus.IndexUpdaterJob 

!ENTRY org.eclipse.m2e.logback.appender 4 0 2016-08-05 08:23:21.171 
!MESSAGE Unable to update index for central|http://repo1.maven.org/maven2 
!SESSION 2016-08-05 08:23:49.999 ----------------------------------------------- 
eclipse.buildId=M20120208-0800 
java.version=1.7.0_51 
java.vendor=Oracle Corporation 
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US 
Command-line arguments: -os win32 -ws win32 -arch x86_64 

!ENTRY org.eclipse.ui 4 4 2016-08-05 08:27:39.836 
!MESSAGE Invalid preference page path: XML Syntax 

!ENTRY org.eclipse.m2e.logback.appender 4 0 2016-08-05 08:27:39.920 
!MESSAGE Can't write workspace state 

!ENTRY org.eclipse.m2e.logback.appender 4 0 2016-08-05 08:27:40.571 
!MESSAGE Unable to update index for central|http://repo1.maven.org/maven2 
!SESSION 2016-08-05 08:27:41.724 ----------------------------------------------- 
eclipse.buildId=M20120208-0800 
java.version=1.7.0_51 
java.vendor=Oracle Corporation 
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US 
Command-line arguments: -os win32 -ws win32 -arch x86_64 

!ENTRY org.eclipse.ui 4 4 2016-08-05 08:29:06.544 
!MESSAGE Invalid preference page path: XML Syntax 

!ENTRY org.eclipse.core.jobs 2 2 2016-08-05 08:29:07.516 
!MESSAGE Job found still running after platform shutdown. Jobs should be canceled by the plugin that scheduled them during shutdown: org.eclipse.m2e.core.internal.index.nexus.IndexUpdaterJob 
!SESSION 2016-08-05 08:29:07.960 ----------------------------------------------- 
eclipse.buildId=M20120208-0800 
java.version=1.7.0_51 
java.vendor=Oracle Corporation 
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US 
Command-line arguments: -os win32 -ws win32 -arch x86_64 

!ENTRY org.eclipse.ui 4 4 2016-08-05 08:38:15.731 
!MESSAGE Invalid preference page path: XML Syntax 

!ENTRY org.eclipse.core.jobs 2 2 2016-08-05 08:38:16.709 
!MESSAGE Job found still running after platform shutdown. Jobs should be canceled by the plugin that scheduled them during shutdown: org.eclipse.m2e.core.internal.repository.RepositoryRegistryUpdateJob 

!ENTRY org.eclipse.core.jobs 2 2 2016-08-05 08:38:16.710 
!MESSAGE Job found still running after platform shutdown. Jobs should be canceled by the plugin that scheduled them during shutdown: org.eclipse.m2e.core.internal.index.nexus.IndexUpdaterJob 
!SESSION 2016-08-05 08:38:17.176 ----------------------------------------------- 
eclipse.buildId=M20120208-0800 
java.version=1.7.0_51 
java.vendor=Oracle Corporation 
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US 
Command-line arguments: -os win32 -ws win32 -arch x86_64 

!ENTRY org.eclipse.ui 4 4 2016-08-05 09:22:02.863 
!MESSAGE Invalid preference page path: XML Syntax 

!ENTRY org.eclipse.core.jobs 2 2 2016-08-05 09:22:03.842 
!MESSAGE Job found still running after platform shutdown. Jobs should be canceled by the plugin that scheduled them during shutdown: org.eclipse.m2e.core.internal.index.nexus.IndexUpdaterJob 

UPDATE

Eclipseを使用してm2eプラグインをインストールしました。

enter image description here

enter image description here

+0

まだインディゴを使用する特別な理由はありますか?私は火星2またはネオンをお勧めします。 –

答えて

0

ソリューションは

enter image description here

好み> Mavenの>インストールを行って、右側のパネルで '追加'、EclipseでMavenをインストールするローカルを指すようになります

次に、settings.xmlをMaven> usersettingsで指定します。更新設定

enter image description here

+0

私は外部の場所からではなく、Eclipseにインストールした私の質問を更新しました。その場合はどうすればいいですか? – nagi

+0

あなたのローカルMavenのインストール先を 'add'で指定し、上記のようにユーザの設定を指定してください – kuhajeyan

+0

私はIndigoからEclipseにインストールしたので、どこに.m2フォルダを置くべきですか? - http://download.eclipse.org/releases/indigoを使って新しいソフトウェアオプションをインストールしてください。これは、アップデートで述べたように、次にMavenプラグインのローカルリポジトリにする必要があります。 – nagi