相关文章推荐
儒雅的松鼠  ·  Could not get ...·  1 年前    · 
机灵的牛肉面  ·  前端 - ...·  1 年前    · 
光明磊落的登山鞋  ·  java - 启动 ...·  1 年前    · 
博学的柳树  ·  python中os.system(cmd)函 ...·  1 年前    · 

今天因为工作需要打算在Eclipse上安装一下Eclipse RCP Plugin-in Developer Resource 3.7.2的插件,照常使用Eclipse自带的最方便的“Install New Software”如图。

结果报错说 Cannot complete the install because of a conflicting dependency.

笔者已经安装了3.6版本的RCP Developer Plugin,所以和想要安装的3.7版本产生了冲突。笔者个人认为Eclipse这一点是比较弱的,理想情况下应该询问是否需要从3.6升级到3.7,Eclipse没有这样做,而是提供了专门的升级功能,在Help-->Check For Updates。

点击Check For Updates,又遇到新的问题说

Some sites could not be found.  See the error log for more detail.

No repository found at http://download.eclipse.org/tools/emf/updates/.

No repository found at http://subclipse.tigris.org/update_1.5.x.

No repository found at http://download.eclipse.org/tools/orbit/downloads/drops/R20100519200754/repository.

No repository found at http://www.eclipse.org/modeling/emf/downloads/.

这是因为有些repository (代码仓库) 不是永久性的,有些当初安装插件的地址可能已经失效,而Eclipse的升级功能是查看所有地址的插件,和本地插件版本相比对,来判断是否需要升级。解决方法是,打开Help-->Install New Software,然后打开所有的available sites。笔者手动删掉了上面错误提示中说找不到仓库的4个地址。

然后重新Check For Updates,果然找到了3.7.2版本的Eclipse Platform,选中并进行升级。

完成后重启Eclipse,如此便完成了Eclipse插件升级。

npm install 报错,以为是npm 问题 ,改成cnpm install ,也还是报错,根据错误信息提示,推断是eslint版本不兼容。 报错提示: peerDependencies WARN ING eslint-plugin-vue@^5.2.3 requires a peer of eslint@^5.0.0 but eslint@6.8.0 was install ed peerDependencies WARN ING eslint-plugin-vue@5.2.3 › vue-eslint-parser@^5.0.0 requires a peer of eslint@ 在 Eclipse 里安装Spr ing 插件 ,help-> install newsoftware用端点安装,说是出现软件依赖错误报错如下: Cannot com p let e the install because of a conflict ing dependency . Software be ing install ed: Spr ing IDE AJDT Integration (op... Warn ing !!! Possibly conflict ing dependencies found: * Flask==2.0.0 - Jinja2 [required: >=3.0, install ed: 2.11.3] * networkx==2.5.1 - deco. 一开始下载了一个ADT 22的显示版本太旧。然后下载23的总报错,报错信息如下:Cannot com p let e the install because of a conflict ing dependency .Software be ing install ed: Tracer for OpenGL ES 23.0.4.1468518 ( com .android.ide. eclipse .gldebugge... 其实就是当前要安装的 插件 与已安装的 插件 存在了冲突。 解决 办法:卸载冲突的几个 插件 ,可能很多人不知道如何卸载已安装的 插件 ,这里我说下: Help-->About Eclipse SDK,选择图 圈起来的地方: 然后会出现下面这个页面,卸载掉冲突的 插件 即可: Cannot com p let e the install because of a conflict ing dependency . Software be ing install ed: Tracer for OpenGL ES 23.0.6.1720515 ( com .android.ide. eclipse .gldebugger.feature.feature.group 23.0.6.1720515) Software currently install ed: Tracer for OpenGL ES 当我们安装过maven的时候 后来再新安装会出现 问题 . Cannot com p let e the install because of a conflict ing dependency . 是因为当我们再次安装的时候 两个安装包会发生冲突。 这个时候我们只能卸载之前的maven,再次安装。 如果卸载之前的maven呢? Help-... 问题 一: Cannot com p let e the install because of a conflict ing dependency . Software be ing install ed: Spr ing IDE AJDT Integration (optional) 3.4.0.201310051539-RELEASE (org.spr ing framework.ide. eclipse .ajdt....