在尝试将subclipse安装到当前的Eclipse Mars安装中时,我遇到了一个奇怪的错误。奇怪的是,它只发生在Windows 7机器上 - 而且只发生在eclipse中。一旦我将违规URL输入浏览器,它就会毫无问题地下载.jar文件。此外,整个更新在Linux上没有任何问题。如果我使用eclipse市场或尝试通过"安装新软件"来安装它并不重要。 (版本1.10或1.12,并不重要)。
错误发生在上周五的第一次,现在仍在我尝试的时候发生,这似乎不太可能(与其他东西一起)它确实是服务器错误......
!MESSAGE HTTP Server 'Service Unavailable': http://subclipse.tigris.org/update_1.10.x/plugins/org.tigris.subversion.clientadapter.javahl.win64_1.8.14.jar
!STACK 1
org.eclipse.ecf.filetransfer.IncomingFileTransferException: HttpComponents connection error response code 503.
at org.eclipse.ecf.provider.filetransfer.httpclient4.HttpClientRetrieveFileTransfer.openStreams(HttpClientRetrieveFileTransfer.java:662)
at org.eclipse.ecf.provider.filetransfer.retrieve.AbstractRetrieveFileTransfer.sendRetrieveRequest(AbstractRetrieveFileTransfer.java:885)
at org.eclipse.ecf.provider.filetransfer.retrieve.MultiProtocolRetrieveAdapter.sendRetrieveRequest(MultiProtocolRetrieveAdapter.java:146)
at org.eclipse.equinox.internal.p2.transport.ecf.FileReader.sendRetrieveRequest(FileReader.java:424)
at org.eclipse.equinox.internal.p2.transport.ecf.FileReader.readInto(FileReader.java:358)
at org.eclipse.equinox.internal.p2.transport.ecf.RepositoryTransport.download(RepositoryTransport.java:101)
at org.eclipse.oomph.p2.internal.core.CachingTransport.download(CachingTransport.java:113)
at org.eclipse.oomph.p2.internal.core.CachingTransport.download(CachingTransport.java:204)
at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.downloadArtifact(SimpleArtifactRepository.java:669)
at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.downloadArtifact(SimpleArtifactRepository.java:591)
at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.getArtifact(SimpleArtifactRepository.java:723)
at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.getArtifact(MirrorRequest.java:319)
at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.transferSingle(MirrorRequest.java:288)
at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.transfer(MirrorRequest.java:223)
at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.perform(MirrorRequest.java:153)
at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.getArtifact(SimpleArtifactRepository.java:707)
at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.getArtifacts(SimpleArtifactRepository.java:778)
at org.eclipse.equinox.internal.p2.engine.DownloadManager.fetch(DownloadManager.java:112)
at org.eclipse.equinox.internal.p2.engine.DownloadManager.start(DownloadManager.java:100)
at org.eclipse.equinox.internal.p2.engine.phases.Collect.completePhase(Collect.java:104)
at org.eclipse.equinox.internal.p2.engine.Phase.postPerform(Phase.java:251)
at org.eclipse.equinox.internal.p2.engine.Phase.perform(Phase.java:101)
at org.eclipse.equinox.internal.p2.engine.PhaseSet.perform(PhaseSet.java:47)
at org.eclipse.equinox.internal.p2.engine.Engine.perform(Engine.java:75)
at org.eclipse.equinox.internal.p2.engine.Engine.perform(Engine.java:44)
at org.eclipse.equinox.p2.operations.ProvisioningSession.performProvisioningPlan(ProvisioningSession.java:175)
at org.eclipse.equinox.p2.operations.ProfileModificationJob.runModal(ProfileModificationJob.java:79)
at org.eclipse.equinox.p2.operations.ProvisioningJob.run(ProvisioningJob.java:177)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
有谁知道这个错误的原因是什么?
答案 0 :(得分:2)
确保您已正确配置Eclipse的代理设置:偏好设置> 一般> 网络连接。浏览器通常可以正常工作,因为它由管理代理和用户桌面的IT部门自动配置或预先配置。