我一直在努力使用Eclipse项目的SmartHome SDK。 我已按照http://www.eclipse.org/smarthome/documentation/development/ide.html中的说明操作,但我仍遇到问题。
当我尝试执行更新任务以重新构建项目时,我收到此错误日志:
执行手动任务产品 org.eclipse.products.epp.package.java.latest.released Project org.eclipse.equinox.p2.master项目 org.eclipse.equinox.framework.master项目 org.eclipse.equinox.bundles.master项目 org.eclipse.smarthome.core.master Bundle org.eclipse.oomph.setup 1.3.0.v20160213-0953,build = 2194,branch = c991531eaee52798fcea97b4b75db38b5d95e913, commit = c991531eaee52798fcea97b4b75db38b5d95e913 Bundle org.eclipse.oomph.setup.core 1.3.0.v20160213-0953,build = 2194, 分支= c991531eaee52798fcea97b4b75db38b5d95e913, commit = c991531eaee52798fcea97b4b75db38b5d95e913 Bundle org.eclipse.oomph.setup.git 1.3.0.v20160213-0953,build = 2194, 分支= c991531eaee52798fcea97b4b75db38b5d95e913, commit = c991531eaee52798fcea97b4b75db38b5d95e913 Bundle org.eclipse.oomph.setup.jdt 1.3.0.v20160213-0953,build = 2194, 分支= c991531eaee52798fcea97b4b75db38b5d95e913, commit = c991531eaee52798fcea97b4b75db38b5d95e913 Bundle org.eclipse.oomph.setup.launching 1.3.0.v20160213-0953,build = 2194, 分支= c991531eaee52798fcea97b4b75db38b5d95e913, commit = c991531eaee52798fcea97b4b75db38b5d95e913 Bundle org.eclipse.oomph.setup.p2 1.3.0.v20160213-0953,build = 2194, 分支= c991531eaee52798fcea97b4b75db38b5d95e913, commit = c991531eaee52798fcea97b4b75db38b5d95e913 Bundle org.eclipse.oomph.setup.pde 1.3.0.v20160213-0953,build = 2194, 分支= c991531eaee52798fcea97b4b75db38b5d95e913, commit = c991531eaee52798fcea97b4b75db38b5d95e913 Bundle org.eclipse.oomph.setup.projects 1.3.0.v20160213-0953,build = 2194, 分支= c991531eaee52798fcea97b4b75db38b5d95e913, commit = c991531eaee52798fcea97b4b75db38b5d95e913 Bundle org.eclipse.oomph.setup.targlets 1.3.0.v20160213-0953,build = 2194, 分支= c991531eaee52798fcea97b4b75db38b5d95e913, commit = c991531eaee52798fcea97b4b75db38b5d95e913 Bundle org.eclipse.oomph.setup.workingsets 1.3.0.v20160213-0953,build = 2194, 分支= c991531eaee52798fcea97b4b75db38b5d95e913, commit = c991531eaee52798fcea97b4b75db38b5d95e913执行P2 Director (Eclipse IDE for Java Developers(Mars))Offline = true Mirrors = true 将8个存储库中的34个需求解析为D:\ Programs \ Eclipse - Java只有\ eclipse要求 org.eclipse.wst.xml_ui.feature.feature.group要求 org.eclipse.m2e.feature.feature.group要求 org.eclipse.m2e.logback.feature.feature.group要求 org.eclipse.xtend.sdk.feature.group [2.6.0,2.7.0)要求 org.eclipse.xtext.sdk.feature.group [2.6.0,2.7.0)要求 org.eclipse.emf.mwe2.language.sdk.feature.group [2.6.0,2.7.0) 要求org.eclipse.emf.mwe2.runtime.sdk.feature.group [2.6.0,2.7.0)要求org.eclipse.emf.mwe.core.feature.group [1.3.2,1.4.0)要求org.eclipse.emf.mwe.sdk.feature.group [1.3.2,1.4.0)要求 org.codehaus.groovy.eclipse.feature.feature.group要求 org.sonatype.tycho.m2e.feature.feature.group要求 org.eclipse.emf.sdk.feature.group要求 org.eclipse.mylyn.java_feature.feature.group要求 org.eclipse.mylyn.bugzilla_feature.feature.group要求 org.eclipse.mylyn.hudson.feature.group要求 org.eclipse.mylyn.git.feature.group要求 org.eclipse.pde.feature.group要求 org.eclipse.wst.jsdt.feature.feature.group要求 org.eclipse.wst.web_ui.feature.feature.group要求 epp.package.java [4.5.0,4.6.0)要求 org.eclipse.platform.feature.group [4.5.0,4.6.0)要求 org.eclipse.rcp.feature.group [4.5.0,4.6.0)要求 org.eclipse.jdt.feature.group [3.11.0,3.12.0)要求 org.eclipse.oomph.setup.feature.group要求 org.eclipse.oomph.targlets.feature.group要求 org.eclipse.oomph.setup.targlets.feature.group要求 org.eclipse.oomph.setup.jdt.feature.group要求 org.eclipse.oomph.setup.git.feature.group要求 org.eclipse.egit.feature.group要求 org.eclipse.oomph.setup.workingsets.feature.group要求 org.eclipse.oomph.setup.projects.feature.group要求 org.eclipse.oomph.setup.pde.feature.group要求 org.eclipse.oomph.setup.launching.feature.group要求 org.eclipse.pde.api.tools.ee.feature.feature.group存储库 http://repo1.maven.org/maven2/.m2e/connectors/m2eclipse-tycho/0.7.0/N/0.7.0.201309291400/ 知识库 http://download.eclipse.org/modeling/tmf/xtext/updates/composite/releases/ 知识库 http://download.eclipse.org/modeling/emf/emf/updates/milestones/ 存储库http://dist.springsource.org/snapshot/GRECLIPSE/e4.5/ 存储库http://download.eclipse.org/technology/epp/packages/mars 存储库http://download.eclipse.org/releases/mars/201602261000 存储库http://download.eclipse.org/oomph/updates/milestone/latest 存储库http://download.eclipse.org/egit/updates添加存储库 http://repo1.maven.org/maven2/.m2e/connectors/m2eclipse-tycho/0.7.0/N/0.7.0.201309291400/ 添加存储库 http://download.eclipse.org/modeling/tmf/xtext/updates/composite/releases/ 添加存储库http://download.eclipse.org/egit/updates添加 知识库 http://download.eclipse.org/modeling/emf/emf/updates/milestones/ 添加存储库 http://download.eclipse.org/oomph/updates/milestone/latest添加 存储库http://dist.springsource.org/snapshot/GRECLIPSE/e4.5/ 添加存储库 http://download.eclipse.org/technology/epp/packages/mars添加 存储库http://download.eclipse.org/releases/mars/201602261000 刷新DSLD脚本刷新DSLD脚本同步资源... 刷新DSLD脚本同步资源...计算 要求和依赖。刷新DSLD脚本同步 资源...搜索标记处理资源更新准备 验证org.eclipse.smarthome.ui.paper验证完成计算 先决条件计划没有可用的软件更新执行 偏爱 /instance/org.eclipse.jdt.core/org.eclipse.jdt.core.codeComplete.argumentSuffixes 表演偏好 /instance/org.eclipse.jdt.core/org.eclipse.jdt.core.codeComplete.staticFinalFieldSuffixes 执行Targlets(Eclipse Platform + Equinox Bundles + Equinox Framework + Equinox P2 + Equinox平台)存储库 http://download.eclipse.org/tools/ajdt/44/dev/update存储库 http://download.eclipse.org/cbi/updates/license离线=真镜子 = true添加存储库http://download.eclipse.org/tools/ajdt/44/dev/update添加存储库 http://download.eclipse.org/cbi/updates/license正在计算 要求和依赖。无法完成请求。 生成细节。错误:org.eclipse.equinox.p2.director代码= 10053 无法完成安装,因为一个或多个必需项目可以 找不到。在 org.eclipse.oomph.targlets.internal.core.TargletContainer.forceUpdate(TargletContainer.java:688) 在 org.eclipse.oomph.setup.targlets.impl.TargletTaskImpl $ 4.run(TargletTaskImpl.java:974) 在 org.eclipse.oomph.util.pde.TargetPlatformUtil.runWithTargetPlatformService(TargetPlatformUtil.java:119) 在 org.eclipse.oomph.setup.targlets.impl.TargletTaskImpl.perform(TargletTaskImpl.java:910) 在 org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.doPerformNeededSetupTasks(SetupTaskPerformer.java:3036) 在 org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.access $ 1(SetupTaskPerformer.java:2980) 在 org.eclipse.oomph.setup.internal.core.SetupTaskPerformer $ WorkspaceUtil $ 1.run(SetupTaskPerformer.java:4170) 在 org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2241) 在 org.eclipse.oomph.setup.internal.core.SetupTaskPerformer $ WorkspaceUtil.performNeededSetupTasks(SetupTaskPerformer.java:4164) 在 org.eclipse.oomph.setup.internal.core.SetupTaskPerformer $ WorkspaceUtil.access $ 0(SetupTaskPerformer.java:4162) 在 org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.performNeededSetupTasks(SetupTaskPerformer.java:2971) 在 org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.performTriggeredSetupTasks(SetupTaskPerformer.java:2946) 在 org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.perform(SetupTaskPerformer.java:2857) 在 org.eclipse.oomph.setup.ui.wizards.ProgressPage $ 9.run(ProgressPage.java:555) 在 org.eclipse.oomph.setup.ui.wizards.ProgressPage $ $ 11 1.run(ProgressPage.java:674) 在org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)错误: org.eclipse.equinox.p2.director code = 0正在安装的软件: artificial_root 1.0.0.v1457620774191
ERROR:
org.eclipse.equinox.p2.director code=0 Missing requirement:
artificial_root 1.0.0.v1457620774191 requires
'org.eclipse.platform.feature.group 0.0.0' but it could not be found
Took 10 seconds. There are failed tasks. Press Back to choose
different settings or Cancel to abort.
为了您的方便,我突出了最后一行是主要错误。 有什么我可以做的来解决这个问题吗?它似乎缺少一个插件,但我无法弄清楚在哪里找到它..
感谢。
答案 0 :(得分:0)
最终通过完全删除OpenHab Eclipse并通过Eclipse Installer重新安装它来解决。你应该确保选择"高级模式"并选择" OpenHab Development"和#34; OpenHab插件2"从列表中。