更新eclipse会出错

时间:2015-08-05 20:54:40

标签: java eclipse

我正在尝试更新Eclipse for Java EE,它给了我以下错误,任何想法如何解决它。我正在使用eclipse

Eclipse Java EE IDE for Web Developers.

Version: Indigo Service Release 2
Build id: 20120216-1857

    An error occurred while collecting items to be installed
    session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
    No repository found containing: osgi.bundle,com.jcraft.jsch,0.1.46.v201205102330
    No repository found containing: osgi.bundle,javax.persistence,2.0.5.v201212031355
    No repository found containing: osgi.bundle,javax.servlet,3.0.0.v201112011016
    No repository found containing: osgi.bundle,javax.servlet.jsp,2.2.0.v201112011158
    No repository found containing: osgi.bundle,org.apache.ant,1.8.3.v201301120609
    No repository found containing: osgi.bundle,org.apache.commons.lang,2.6.0.v201205030909
    No repository found containing: osgi.bundle,org.eclipse.ant.launching,1.0.200.v20120530-1204
    No repository found containing: osgi.bundle,org.eclipse.ant.ui,3.5.301.v20121210-210948
    No repository found containing: osgi.bundle,org.eclipse.compare.win32,1.0.200.v20120914-154749
    No repository found containing: osgi.bundle,org.eclipse.core.databinding.beans,1.2.200.v20120523-1955
    No repository found containing: osgi.bundle,org.eclipse.core.externaltools,1.0.100.v20120521-2012
    No repository found containing: osgi.bundle,org.eclipse.core.filesystem.win32.x86,1.1.300.v20120522-1137
    No repository found containing: osgi.bundle,org.eclipse.core.net,1.2.200.v20120914-093638
    No repository found containing: osgi.bundle,org.eclipse.core.net.win32.x86,1.0.100.v20120522-1148
    No repository found containing: osgi.bundle,org.eclipse.core.resources.win32.x86,3.5.100.v20120522-1137
    No repository found containing: osgi.bundle,org.eclipse.core.runtime.compatibility,3.2.200.v20120521-2346
    No repository found containing: osgi.bundle,org.eclipse.core.runtime.compatibility.registry,3.5.101.v20130108-163257
    No repository found containing: osgi.bundle,org.eclipse.cvs,1.2.1.v201302041200
    No repository found containing: osgi.bundle,org.eclipse.datatools.connectivity,1.2.7.v201302060508
    No repository found containing: osgi.bundle,org.eclipse.datatools.connectivity.apache.derby,1.0.103.v201212070447
    No repository found containing: osgi.bundle,org.eclipse.datatools.connectivity.db.generic.ui,1.0.2.v201211200622
    No repository found containing: 

我已经使用ADT配置eclipse用于Android开发。

请告知这里发生了什么?

谢谢, 艾哈迈德

2 个答案:

答案 0 :(得分:0)

如果你想尝试ADT,在窗口中 - >偏好 - >安装/更新 - >可用的软件站点,找到ADT插件的URL并将https更改为http。完成更新操作后,将更改的URL恢复为https。希望这有帮助

答案 1 :(得分:0)

这告诉您Eclipse Indigo(3.7)对于您尝试安装的代码而言太旧了。

您需要迁移到更新版本的Eclipse(Eclipse Mars(4.5)是当前版本)。

然而,Google正在放弃使用Eclipse支持Android开发,因此您可能需要查看Android Studio。