web-dev-qa-db-ja.com

Eclipse Luna Marketに接続できません

Eclipse LunaディストリビューションをMaven 2プラグインをインストールするための市場に接続できません。これは私の設定です:

Eclipse:-Eclipse Luna M5リリース、プロキシを構成しました

私のコンピュータ:-Windows XP 32ビット

これはエラーメッセージです:

!SESSION 2014-03-03 14:55:53.568 -----------------------------------------------
Eclipse.buildId=4.4.0.I20140123-1600
Java.version=1.6.0_29
Java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, Arch=x86, WS=win32, NL=fr_FR
Framework arguments:  -product org.Eclipse.epp.package.standard.product
Command-line arguments:  -os win32 -ws win32 -Arch x86 -product org.Eclipse.epp.package.standard.product

!ENTRY org.Eclipse.core.net 1 0 2014-03-03 14:56:01.676
!MESSAGE System property http.proxyHost is not set but should be <myProxy_url>.

!ENTRY org.Eclipse.core.net 1 0 2014-03-03 14:56:01.692
!MESSAGE System property http.proxyPort is not set but should be <myProxy_port>.

!ENTRY org.Eclipse.core.net 1 0 2014-03-03 14:56:01.692
!MESSAGE System property https.proxyHost is not set but should be <myProxy_url>.

!ENTRY org.Eclipse.core.net 1 0 2014-03-03 14:56:01.692
!MESSAGE System property https.proxyPort is not set but should be <myProxy_port>.

!ENTRY org.Eclipse.core.net 1 0 2014-03-03 14:56:01.692
!MESSAGE System property https.proxyHost is not set but should be <myProxy_url>.

!ENTRY org.Eclipse.core.net 1 0 2014-03-03 14:56:01.708
!MESSAGE System property https.proxyPort is not set but should be <myProxy_port>.

!ENTRY org.Eclipse.epp.mpc.ui 4 0 2014-03-03 14:56:14.988
!MESSAGE Cannot open Eclipse Marketplace
!STACK 1
org.Eclipse.core.runtime.CoreException: Cannot install remote marketplace locations: Bad HTTP Request: http://marketplace.Eclipse.org/catalogs/api/p
    at org.Eclipse.epp.internal.mpc.ui.commands.MarketplaceWizardCommand.execute(MarketplaceWizardCommand.Java:101)
    at org.Eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.Java:290)
    at org.Eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.Java:90)
    at Sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at Sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at Sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at Java.lang.reflect.Method.invoke(Unknown Source)
    at org.Eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.Java:56)
    at org.Eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.Java:243)
    at org.Eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.Java:224)
    at org.Eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.Java:132)
    at org.Eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.Java:163)
    at org.Eclipse.core.commands.Command.executeWithChecks(Command.Java:499)
    at org.Eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.Java:508)
    at org.Eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.Java:222)
    at org.Eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.executeItem(HandledContributionItem.Java:776)
    at org.Eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.handleWidgetSelection(HandledContributionItem.Java:668)
    at org.Eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.access$6(HandledContributionItem.Java:652)
    at org.Eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem$4.handleEvent(HandledContributionItem.Java:584)
    at org.Eclipse.swt.widgets.EventTable.sendEvent(EventTable.Java:84)
    at org.Eclipse.swt.widgets.Display.sendEvent(Display.Java:4353)
    at org.Eclipse.swt.widgets.Widget.sendEvent(Widget.Java:1061)
    at org.Eclipse.swt.widgets.Display.runDeferredEvents(Display.Java:4172)
    at org.Eclipse.swt.widgets.Display.readAndDispatch(Display.Java:3761)
    at org.Eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.Java:1122)
    at org.Eclipse.core.databinding.observable.Realm.runWithDefault(Realm.Java:332)
    at org.Eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.Java:1006)
    at org.Eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.Java:146)
    at org.Eclipse.ui.internal.Workbench$5.run(Workbench.Java:615)
    at org.Eclipse.core.databinding.observable.Realm.runWithDefault(Realm.Java:332)
    at org.Eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.Java:566)
    at org.Eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.Java:150)
    at org.Eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.Java:125)
    at org.Eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.Java:196)
    at org.Eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.Java:109)
    at org.Eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.Java:80)
    at org.Eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.Java:372)
    at org.Eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.Java:226)
    at Sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at Sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at Sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at Java.lang.reflect.Method.invoke(Unknown Source)
    at org.Eclipse.equinox.launcher.Main.invokeFramework(Main.Java:636)
    at org.Eclipse.equinox.launcher.Main.basicRun(Main.Java:591)
    at org.Eclipse.equinox.launcher.Main.run(Main.Java:1450)
Caused by: org.Eclipse.core.runtime.CoreException: Bad HTTP Request: http://marketplace.Eclipse.org/catalogs/api/p
    at org.Eclipse.equinox.internal.p2.transport.ecf.RepositoryTransport.stream(RepositoryTransport.Java:180)
    at Sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at Sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at Sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at Java.lang.reflect.Method.invoke(Unknown Source)
    at org.Eclipse.epp.internal.mpc.core.util.AbstractP2TransportFactory.invokeStream(AbstractP2TransportFactory.Java:35)
    at org.Eclipse.epp.internal.mpc.core.util.TransportFactory$1.stream(TransportFactory.Java:69)
    at org.Eclipse.epp.internal.mpc.core.service.RemoteMarketplaceService.processRequest(RemoteMarketplaceService.Java:131)
    at org.Eclipse.epp.internal.mpc.core.service.RemoteMarketplaceService.processRequest(RemoteMarketplaceService.Java:85)
    at org.Eclipse.epp.internal.mpc.core.service.RemoteMarketplaceService.processRequest(RemoteMarketplaceService.Java:72)
    at org.Eclipse.epp.internal.mpc.core.service.DefaultCatalogService.listCatalogs(DefaultCatalogService.Java:36)
    at org.Eclipse.epp.internal.mpc.ui.commands.MarketplaceWizardCommand$5.run(MarketplaceWizardCommand.Java:254)
    at org.Eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.Java:122)
Caused by: org.Eclipse.ecf.filetransfer.IncomingFileTransferException: HttpComponents connection error response code 400.
    at org.Eclipse.ecf.provider.filetransfer.httpclient4.HttpClientRetrieveFileTransfer.openStreams(HttpClientRetrieveFileTransfer.Java:665)
    at org.Eclipse.ecf.provider.filetransfer.retrieve.AbstractRetrieveFileTransfer.sendRetrieveRequest(AbstractRetrieveFileTransfer.Java:879)
    at org.Eclipse.ecf.provider.filetransfer.retrieve.AbstractRetrieveFileTransfer.sendRetrieveRequest(AbstractRetrieveFileTransfer.Java:570)
    at org.Eclipse.ecf.provider.filetransfer.retrieve.MultiProtocolRetrieveAdapter.sendRetrieveRequest(MultiProtocolRetrieveAdapter.Java:106)
    at org.Eclipse.equinox.internal.p2.transport.ecf.FileReader.sendRetrieveRequest(FileReader.Java:422)
    at org.Eclipse.equinox.internal.p2.transport.ecf.FileReader.read(FileReader.Java:273)
    at org.Eclipse.equinox.internal.p2.transport.ecf.RepositoryTransport.stream(RepositoryTransport.Java:172)
    ... 12 more
Contains: Bad HTTP Request: http://marketplace.Eclipse.org/catalogs/api/p
org.Eclipse.ecf.filetransfer.IncomingFileTransferException: HttpComponents connection error response code 400.
    at org.Eclipse.ecf.provider.filetransfer.httpclient4.HttpClientRetrieveFileTransfer.openStreams(HttpClientRetrieveFileTransfer.Java:665)
    at org.Eclipse.ecf.provider.filetransfer.retrieve.AbstractRetrieveFileTransfer.sendRetrieveRequest(AbstractRetrieveFileTransfer.Java:879)
    at org.Eclipse.ecf.provider.filetransfer.retrieve.AbstractRetrieveFileTransfer.sendRetrieveRequest(AbstractRetrieveFileTransfer.Java:570)
    at org.Eclipse.ecf.provider.filetransfer.retrieve.MultiProtocolRetrieveAdapter.sendRetrieveRequest(MultiProtocolRetrieveAdapter.Java:106)
    at org.Eclipse.equinox.internal.p2.transport.ecf.FileReader.sendRetrieveRequest(FileReader.Java:422)
    at org.Eclipse.equinox.internal.p2.transport.ecf.FileReader.read(FileReader.Java:273)
    at org.Eclipse.equinox.internal.p2.transport.ecf.RepositoryTransport.stream(RepositoryTransport.Java:172)
    at Sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at Sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at Sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at Java.lang.reflect.Method.invoke(Unknown Source)
    at org.Eclipse.epp.internal.mpc.core.util.AbstractP2TransportFactory.invokeStream(AbstractP2TransportFactory.Java:35)
    at org.Eclipse.epp.internal.mpc.core.util.TransportFactory$1.stream(TransportFactory.Java:69)
    at org.Eclipse.epp.internal.mpc.core.service.RemoteMarketplaceService.processRequest(RemoteMarketplaceService.Java:131)
    at org.Eclipse.epp.internal.mpc.core.service.RemoteMarketplaceService.processRequest(RemoteMarketplaceService.Java:85)
    at org.Eclipse.epp.internal.mpc.core.service.RemoteMarketplaceService.processRequest(RemoteMarketplaceService.Java:72)
    at org.Eclipse.epp.internal.mpc.core.service.DefaultCatalogService.listCatalogs(DefaultCatalogService.Java:36)
    at org.Eclipse.epp.internal.mpc.ui.commands.MarketplaceWizardCommand$5.run(MarketplaceWizardCommand.Java:254)
    at org.Eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.Java:122)
!SUBENTRY 1 org.Eclipse.epp.mpc.ui 4 0 2014-03-03 14:56:14.988
!MESSAGE Cannot install remote marketplace locations: Bad HTTP Request: http://marketplace.Eclipse.org/catalogs/api/p
!STACK 1
org.Eclipse.core.runtime.CoreException: Bad HTTP Request: http://marketplace.Eclipse.org/catalogs/api/p
    at org.Eclipse.equinox.internal.p2.transport.ecf.RepositoryTransport.stream(RepositoryTransport.Java:180)
    at Sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at Sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at Sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at Java.lang.reflect.Method.invoke(Unknown Source)
    at org.Eclipse.epp.internal.mpc.core.util.AbstractP2TransportFactory.invokeStream(AbstractP2TransportFactory.Java:35)
    at org.Eclipse.epp.internal.mpc.core.util.TransportFactory$1.stream(TransportFactory.Java:69)
    at org.Eclipse.epp.internal.mpc.core.service.RemoteMarketplaceService.processRequest(RemoteMarketplaceService.Java:131)
    at org.Eclipse.epp.internal.mpc.core.service.RemoteMarketplaceService.processRequest(RemoteMarketplaceService.Java:85)
    at org.Eclipse.epp.internal.mpc.core.service.RemoteMarketplaceService.processRequest(RemoteMarketplaceService.Java:72)
    at org.Eclipse.epp.internal.mpc.core.service.DefaultCatalogService.listCatalogs(DefaultCatalogService.Java:36)
    at org.Eclipse.epp.internal.mpc.ui.commands.MarketplaceWizardCommand$5.run(MarketplaceWizardCommand.Java:254)
    at org.Eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.Java:122)
Caused by: org.Eclipse.ecf.filetransfer.IncomingFileTransferException: HttpComponents connection error response code 400.
    at org.Eclipse.ecf.provider.filetransfer.httpclient4.HttpClientRetrieveFileTransfer.openStreams(HttpClientRetrieveFileTransfer.Java:665)
    at org.Eclipse.ecf.provider.filetransfer.retrieve.AbstractRetrieveFileTransfer.sendRetrieveRequest(AbstractRetrieveFileTransfer.Java:879)
    at org.Eclipse.ecf.provider.filetransfer.retrieve.AbstractRetrieveFileTransfer.sendRetrieveRequest(AbstractRetrieveFileTransfer.Java:570)
    at org.Eclipse.ecf.provider.filetransfer.retrieve.MultiProtocolRetrieveAdapter.sendRetrieveRequest(MultiProtocolRetrieveAdapter.Java:106)
    at org.Eclipse.equinox.internal.p2.transport.ecf.FileReader.sendRetrieveRequest(FileReader.Java:422)
    at org.Eclipse.equinox.internal.p2.transport.ecf.FileReader.read(FileReader.Java:273)
    at org.Eclipse.equinox.internal.p2.transport.ecf.RepositoryTransport.stream(RepositoryTransport.Java:172)
    ... 12 more
!SUBENTRY 2 org.Eclipse.equinox.p2.transport.ecf 4 1002 2014-03-03 14:56:14.988
!MESSAGE Bad HTTP Request: http://marketplace.Eclipse.org/catalogs/api/p
!STACK 1
org.Eclipse.ecf.filetransfer.IncomingFileTransferException: HttpComponents connection error response code 400.
    at org.Eclipse.ecf.provider.filetransfer.httpclient4.HttpClientRetrieveFileTransfer.openStreams(HttpClientRetrieveFileTransfer.Java:665)
    at org.Eclipse.ecf.provider.filetransfer.retrieve.AbstractRetrieveFileTransfer.sendRetrieveRequest(AbstractRetrieveFileTransfer.Java:879)
    at org.Eclipse.ecf.provider.filetransfer.retrieve.AbstractRetrieveFileTransfer.sendRetrieveRequest(AbstractRetrieveFileTransfer.Java:570)
    at org.Eclipse.ecf.provider.filetransfer.retrieve.MultiProtocolRetrieveAdapter.sendRetrieveRequest(MultiProtocolRetrieveAdapter.Java:106)
    at org.Eclipse.equinox.internal.p2.transport.ecf.FileReader.sendRetrieveRequest(FileReader.Java:422)
    at org.Eclipse.equinox.internal.p2.transport.ecf.FileReader.read(FileReader.Java:273)
    at org.Eclipse.equinox.internal.p2.transport.ecf.RepositoryTransport.stream(RepositoryTransport.Java:172)
    at Sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at Sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at Sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at Java.lang.reflect.Method.invoke(Unknown Source)
    at org.Eclipse.epp.internal.mpc.core.util.AbstractP2TransportFactory.invokeStream(AbstractP2TransportFactory.Java:35)
    at org.Eclipse.epp.internal.mpc.core.util.TransportFactory$1.stream(TransportFactory.Java:69)
    at org.Eclipse.epp.internal.mpc.core.service.RemoteMarketplaceService.processRequest(RemoteMarketplaceService.Java:131)
    at org.Eclipse.epp.internal.mpc.core.service.RemoteMarketplaceService.processRequest(RemoteMarketplaceService.Java:85)
    at org.Eclipse.epp.internal.mpc.core.service.RemoteMarketplaceService.processRequest(RemoteMarketplaceService.Java:72)
    at org.Eclipse.epp.internal.mpc.core.service.DefaultCatalogService.listCatalogs(DefaultCatalogService.Java:36)
    at org.Eclipse.epp.internal.mpc.ui.commands.MarketplaceWizardCommand$5.run(MarketplaceWizardCommand.Java:254)
    at org.Eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.Java:122)
!SUBENTRY 3 org.Eclipse.ecf.identity 4 0 2014-03-03 14:56:14.988
!MESSAGE HttpComponents connection error response code 400.
!SUBENTRY 2 org.Eclipse.equinox.p2.transport.ecf 4 1002 2014-03-03 14:56:14.988
!MESSAGE Bad HTTP Request: http://marketplace.Eclipse.org/catalogs/api/p
!STACK 1
org.Eclipse.ecf.filetransfer.IncomingFileTransferException: HttpComponents connection error response code 400.
    at org.Eclipse.ecf.provider.filetransfer.httpclient4.HttpClientRetrieveFileTransfer.openStreams(HttpClientRetrieveFileTransfer.Java:665)
    at org.Eclipse.ecf.provider.filetransfer.retrieve.AbstractRetrieveFileTransfer.sendRetrieveRequest(AbstractRetrieveFileTransfer.Java:879)
    at org.Eclipse.ecf.provider.filetransfer.retrieve.AbstractRetrieveFileTransfer.sendRetrieveRequest(AbstractRetrieveFileTransfer.Java:570)
    at org.Eclipse.ecf.provider.filetransfer.retrieve.MultiProtocolRetrieveAdapter.sendRetrieveRequest(MultiProtocolRetrieveAdapter.Java:106)
    at org.Eclipse.equinox.internal.p2.transport.ecf.FileReader.sendRetrieveRequest(FileReader.Java:422)
    at org.Eclipse.equinox.internal.p2.transport.ecf.FileReader.read(FileReader.Java:273)
    at org.Eclipse.equinox.internal.p2.transport.ecf.RepositoryTransport.stream(RepositoryTransport.Java:172)
    at Sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at Sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at Sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at Java.lang.reflect.Method.invoke(Unknown Source)
    at org.Eclipse.epp.internal.mpc.core.util.AbstractP2TransportFactory.invokeStream(AbstractP2TransportFactory.Java:35)
    at org.Eclipse.epp.internal.mpc.core.util.TransportFactory$1.stream(TransportFactory.Java:69)
    at org.Eclipse.epp.internal.mpc.core.service.RemoteMarketplaceService.processRequest(RemoteMarketplaceService.Java:131)
    at org.Eclipse.epp.internal.mpc.core.service.RemoteMarketplaceService.processRequest(RemoteMarketplaceService.Java:85)
    at org.Eclipse.epp.internal.mpc.core.service.RemoteMarketplaceService.processRequest(RemoteMarketplaceService.Java:72)
    at org.Eclipse.epp.internal.mpc.core.service.DefaultCatalogService.listCatalogs(DefaultCatalogService.Java:36)
    at org.Eclipse.epp.internal.mpc.ui.commands.MarketplaceWizardCommand$5.run(MarketplaceWizardCommand.Java:254)
    at org.Eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.Java:122)
!SUBENTRY 3 org.Eclipse.ecf.identity 4 0 2014-03-03 14:56:14.988
!MESSAGE HttpComponents connection error response code 400.

!ENTRY org.Eclipse.egit.ui 2 0 2014-03-03 14:56:17.457
!MESSAGE Warning: EGit couldn't detect the installation path "gitPrefix" of native Git. Hence EGit can't respect system level
Git settings which might be configured in ${gitPrefix}/etc/gitconfig under the native Git installation directory.
The most important of these settings is core.autocrlf. Git for Windows by default sets this parameter to true in
this system level configuration. The Git installation location can be configured on the
Team > Git > Configuration preference page's 'System Settings' tab.
This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.

!ENTRY org.Eclipse.egit.ui 2 0 2014-03-03 14:56:17.472
!MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git
user global configuration and to define the default location to store repositories: 'C:\Documents and Settings\ombinte'. If this is
not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
EGit might behave differently since they see different configuration options.
This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
12
Ousmane MINTE

一部のプロキシサーバーでは、Eclipse 4.4で使用されるHttpClientライブラリに問題があるようです。回避策は、Eclipse.iniに次の行を追加して、JRE httpクライアントを使用することです。

-Dorg.Eclipse.ecf.provider.filetransfer.excludeContributors = org.Eclipse.ecf.provider.filetransfer.httpclient4 

Eclipseバグディスカッション

Apache HttpClientを無効にする

47
Dave Moten

私はそれが私のためにうまくいかなかったすべてのものを試しました..最終的に私はそれがWindowsファイアウォール(Windows 7)からのEclipseを許可する必要があることを発見しました。

-> [コントロールパネル]> [システムとセキュリティ]> [Windowsファイアウォール]> [Windowsファイアウォールを介したプログラムまたは機能の許可]に移動します

->次にEclipse.exeを参照します

-> Eclipseを再起動します

5
shankar

1。GO TO

ウィンドウ->設定->一般->ネットワーク接続。

2。設定を変更する

アクティブなプロバイダー->手動->およびチェック---> HTTP、HTTPS、SOCS

Eclipseを再起動してお楽しみください!

3
Sujewan

Linux64では、lunaで同様の問題がありましたが、Keplerはうまく接続します。ネットワーク接続のSOCKSエントリをクリアし、手動のアクティブプロバイダーにする必要があることがどこかで見つかりました。次に、Eclipseを再起動して変更を適用します。それは私のために働いた。

2
Dennis