tas_yusheng 2017-08-15 03:22 采纳率: 100%
浏览 3327
已采纳

求大神指点,高分!EclipseLUNA4.4.2版本安装Spring插件安装不上2017-8-15

我试过了在线安装,离线安装,Eclipse卸载了重装都安不上,要疯了
显示cannot found 什么东西,然后显示只能安装部分,
如果勾选那个在线更新,会等很久,有几次更新到最后时40%左右仍然会出错
安装Spring插件安装出错:
An error occurred while collecting items to be installed session context was:(profile=epp.package.je...
图片说明
图片说明
图片说明
图片说明
An error occurred while collecting items to be installe
session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,org.eclipse.draw2d,3.10.0.201506010206
No repository found containing: osgi.bundle,org.eclipse.gef,3.10.0.201506010206
No repository found containing: osgi.bundle,com.caucho.hessian,3.2.0.0
No repository found containing: osgi.bundle,javax.servlet,3.1.0.v20140303-1611
No repository found containing: osgi.bundle,org.apache.commons.fileupload,1.2.2.v20111214-1400
No repository found containing: osgi.bundle,org.apache.commons.pool,1.6.0.v201204271246
No repository found containing: osgi.bundle,org.apache.derby.jdbc_1091.fragment,10.9.1.20140305-1843
Unable to connect to repository http://download.eclipse.org/tools/ajdt/36/dev/update/plugins/org.eclipse.ajdt.ui.source_2.2.0.e36x-20120507-1400.jar
Connection timed out: connect
No repository found containing: org.eclipse.update.feature,org.eclipse.draw2d,3.10.0.201506010206
No repository found containing: org.eclipse.update.feature,org.eclipse.gef,3.10.0.201506010206
No repository found containing: osgi.bundle,org.h2,1.3.168.v201212121212
No repository found containing:
。。。。。。

求大神指点!!!

  • 写回答

6条回答

  • tas_yusheng 2017-08-15 10:27
    关注

    出现错误的原因是Eclipse的更新管理P2出错了。
    p2有它的一个垃圾回收机制,之前删除的JAR包在未被回收之前,再次重装,系统不会做重新download的动作,但是它又找不到那个JAR包了,故而报错。
    解决办法:
    在运行命令行中切换到Eclipse的安装根目录,即eclipse.exe所在目录执行命令:
    Eclipse目录下cmd运行
    eclipse -application org.eclipse.equinox.p2.garbagecollector.application -profile epp.package.jee

    然后我是插件包解压本地使用,但是勾选了选择在线更新,一样的朋友的可以试一下这个方法
    谢谢这篇博主:
    http://blog.csdn.net/duqian94/article/details/52640394

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(5条)

报告相同问题?

悬赏问题

  • ¥15 Python爬取指定微博话题下的内容,保存为txt
  • ¥15 vue2登录调用后端接口如何实现
  • ¥65 永磁型步进电机PID算法
  • ¥15 sqlite 附加(attach database)加密数据库时,返回26是什么原因呢?
  • ¥88 找成都本地经验丰富懂小程序开发的技术大咖
  • ¥15 如何处理复杂数据表格的除法运算
  • ¥15 如何用stc8h1k08的片子做485数据透传的功能?(关键词-串口)
  • ¥15 有兄弟姐妹会用word插图功能制作类似citespace的图片吗?
  • ¥15 latex怎么处理论文引理引用参考文献
  • ¥15 请教:如何用postman调用本地虚拟机区块链接上的合约?