如何修复Eclipse错误:'路径必须包含项目和资源名称'?

时间:2018-06-04 11:11:35

标签: eclipse eclipse-cdt

My Wind River Workbench项目报告错误:

java.lang.IllegalArgumentException: Path must include project and resource name: /LedaAP

at org.eclipse.core.runtime.Assert.isLegal(Assert.java:63)
at org.eclipse.core.internal.resources.Workspace.newResource(Workspace.java:2068)
at org.eclipse.core.internal.resources.Container.getFolder(Container.java:202)
at com.windriver.pb.core.build.model.WRTgtCentricBuildImpl.refreshMakeFileFolder(WRTgtCentricBuildImpl.java:539)
at com.windriver.pb.core.build.model.WRTgtCentricBuildImpl.generateMakefiles(WRTgtCentricBuildImpl.java:532)
at com.windriver.pb.core.build.model.WRBuild.generateMakefiles(WRBuild.java:408)
at com.windriver.pb.core.build.builder.WRBuilder.prepareToBuild(WRBuilder.java:40)
at com.windriver.pb.core.api.build.WRAbstractBuilder.build(WRAbstractBuilder.java:338)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:735)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:206)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:330)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:405)
at org.eclipse.core.internal.resources.Project$1.run(Project.java:551)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2240)
at org.eclipse.core.internal.resources.Project.internalBuild(Project.java:529)
at org.eclipse.core.internal.resources.Project.build(Project.java:120)
at com.windriver.pb.ui.actions.build.WRBuildAction$4.doRunBuild(WRBuildAction.java:454)
at com.windriver.pb.core.api.build.WRBuildJob.run(WRBuildJob.java:66)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

WR Workbench使用Eclipse 4.6.3.v20170301和Eclipse CDT。

在网上搜索似乎出于各种原因会出现此错误。有关如何诊断这个问题的建议吗?

我注意到资源路径是'/ LedaAP'。那会在哪里设置?

0 个答案:

没有答案