使用 Salesforce 在 Eclipse 中创建部件控件失败

我有 Eclipse Juno 和 Force.com IDE.当我尝试创建新类时,它们总是显示:未能创建部件的控件.它第一次起作用,但现在他们总是展示这一点.如果我在 force.com 平台内创建它们,也会发生同样的情况.

I have Eclipse Juno and Force.com IDE. When I try to create new classes they always show: failed to create the part's controls. It worked for the first time, but now they always show this. Same happens if I create them inside the force.com platform.

Error details:
org.eclipse.core.runtime.AssertionFailedException: assertion failed:
at org.eclipse.core.runtime.Assert.isTrue(Assert.java:110)

等等……

感谢所有帮助.

推荐答案

我遇到了同样的错误.我通过切换 Eclipse 工作区来修复它.转到菜单文件->切换工作区->其他,然后选择您正在使用的同一工作区.Eclipse 将重新启动,您应该不会收到错误消息.

I had the same error. I fixed it by switching the eclipse workspace. Go to menu File->Switch Workspace->Other, and then select the same workspace you were working with. Eclipse will restart and you should not get the error.

相关文章