gpt4 book ai didi

java - 未找到包含 : org. eclipse.update.feature、org.eclipse.emf.ecore 的存储库

转载 作者:行者123 更新时间:2023-12-05 07:48:02 24 4
gpt4 key购买 nike

我已经将 eclipse 4.3 升级到 eclipse 4.5。当我尝试用 eclipse 4.5 编译相同的产品时,我得到了一大堆错误。

收集要安装的项目时发生错误

 [java] [p2.director]  No repository found containing: org.eclipse.update.feature,org.eclipse.emf.ecore,2.11.1.v20150805-0538
[java] [p2.director] No repository found containing: osgi.bundle,org.eclipse.emf.ecore.xmi,2.11.1.v20150805-0538
[java] [p2.director] No repository found containing: osgi.bundle,org.eclipse.emf.edit,2.11.1.v20150806-0404
[java] [p2.director] No repository found containing: osgi.bundle,org.eclipse.jdt.core,3.11.2.v20160128-0629
[java] [p2.director] No repository found containing: osgi.bundle,org.eclipse.jdt.core.manipulation,1.5.100.v20141002-1241
[java] [p2.director] No repository found containing: osgi.bundle,org.eclipse.jdt.debug,3.9.1.v20160128-1343
[java] [p2.director] No repository found containing: osgi.bundle,org.eclipse.jdt.launching,3.8.0.v20150527-0946
[java] [p2.director] No repository found containing: osgi.bundle,org.eclipse.jdt.ui,3.11.2.v20151123-1510
[java] [p2.director] No repository found containing: osgi.bundle,org.eclipse.jem.util,2.1.200.v201404021757
[java] [p2.director] No repository found containing: osgi.bundle,org.eclipse.jst.common.project.facet.core,1.4.400.v201403261418
[java] [p2.director] No repository found containing: osgi.bundle,org.eclipse.wst.common.core,1.2.0.v200908251833
[java] [p2.director] No repository found containing: osgi.bundle,org.eclipse.wst.common.emf,1.2.400.v201505132009
[java] [p2.director] No repository found containing: osgi.bundle,org.eclipse.wst.common.emfworkbench.integration,1.2.101.v201107081800
[java] [p2.director] No repository found containing: osgi.bundle,org.eclipse.wst.common.environment,1.0.400.v200912181831
[java] [p2.director] No repository found containing: osgi.bundle,org.eclipse.wst.common.frameworks,1.2.200.v201304241450
[java] [p2.director] No repository found containing: osgi.bundle,org.eclipse.wst.common.frameworks.ui,1.2.400.v201504292002
[java] [p2.director] No repository found containing: osgi.bundle,org.eclipse.wst.common.modulecore,1.2.401.v201408132036
[java] [p2.director] No repository found containing: osgi.bundle,org.eclipse.wst.common.project.facet.core,1.4.300.v201111030423
[java] [p2.director] No repository found containing: osgi.bundle,org.eclipse.wst.common.project.facet.ui,1.4.600.v201505072140
[java] [p2.director] No repository found containing: osgi.bundle,org.eclipse.wst.common.uriresolver,1.2.200.v201505132009
[java] [p2.director] No repository found containing: osgi.bundle,org.eclipse.wst.css.core,1.1.800.v201402172058
[java] [p2.director] No repository found containing: osgi.bundle,org.eclipse.wst.html.core,1.1.802.v201501312139
[java] [p2.director] No repository found containing: osgi.bundle,org.eclipse.wst.internet.monitor.core,1.0.600.v201309182039
[java] [p2.director] No repository found containing: osgi.bundle,org.eclipse.wst.jsdt.core,1.3.401.v201511181529
[java] [p2.director] No repository found containing: osgi.bundle,org.eclipse.wst.jsdt.manipulation,1.0.600.v201505071819
[java] [p2.director] No repository found containing: osgi.bundle,org.eclipse.wst.jsdt.ui,1.1.601.v201512010225
[java] [p2.director] No repository found containing: osgi.bundle,org.eclipse.wst.jsdt.web.core,1.0.800.v201505130300
[java] [p2.director] No repository found containing: osgi.bundle,org.eclipse.wst.server.core,1.8.0.v201601132216
[java] [p2.director] No repository found containing: osgi.bundle,org.eclipse.wst.server.discovery,1.2.0.v201601132216
[java] [p2.director] No repository found containing: osgi.bundle,org.eclipse.wst.server.ui,1.5.202.v201602111638
[java] [p2.director] No repository found containing: osgi.bundle,org.eclipse.wst.sse.core,1.1.901.v201510130005
[java] [p2.director] No repository found containing: osgi.bundle,org.eclipse.wst.validation,1.2.700.v201508251749
[java] [p2.director] No repository found containing: osgi.bundle,org.eclipse.wst.xml.core,1.1.902.v201501211904

调用 Controller 时出现问题。

我在网上看到的解决方案很少,但他们的解决方案与从 UI 安装 eclipse 软件更相关。我的问题与构建时间更相关。

我使用了 vanilla eclipse,添加了必要的第三方插件和存储库。知道缺少什么插件/存储库吗?

谢谢!

最佳答案

如果在调用 director 时出现问题,那么您应该尝试以下解决方案。

<target name="runDirector" >上方添加这条记录标签

<record name="c:/users/pvyas/desktop/build.log" loglevel="verbose" append="false"/>

在 genericTargets.xml 中

\\eclipse\plugins\org.eclipse.pde.build_<supported-version>\scripts\genericTargets.xml

这将生成日志,您将获得有关缺少插件的详细信息。一旦您获得插件,您就可以将这些插件添加到您的依赖项中。

关于java - 未找到包含 : org. eclipse.update.feature、org.eclipse.emf.ecore 的存储库,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38970280/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com