【问题标题】:Eclipse internal file can not be found in eclipse oxygeneclipse氧气中找不到Eclipse内部文件
【发布时间】:2018-03-07 22:02:54
【问题描述】:

我正在开发基于 Eclipse 4.4 的 Eclipse RCP 项目。我可以使用Maven Tyco plugin 构建项目,但是当目标平台为Eclipse Oxygen 时,Eclipse 中出现编译器错误。如果我将目标平台更改为Eclipse Mars,则没有错误。我真的不想在我的电脑上有两个单独的安装。我也有 Warnings to ignore: Preferences > search "compile" > Java > Compiler > Errors/Warnings >: search "serialize" > Ignore, "Forbidden Reference" > Ignore 设置为忽略禁止引用。

我在 Eclipse 中安装了所有 e4 工具。有什么我想念的吗?有人可以帮忙吗。缺少的文件是

org.eclipse.e4.ui.internal.workbench.XMLModelReconciler;
org.eclipse.e4.ui.internal.workbench.ModelReconcilingService;
org.eclipse.e4.ui.workbench.modeling.IModelReconcilingService;
org.eclipse.e4.ui.workbench.modeling.ModelDelta;
org.eclipse.e4.ui.workbench.modeling.ModelReconciler;

任何帮助将不胜感激。谢谢

【问题讨论】:

    标签: eclipse eclipse-rcp eclipse-oxygen


    【解决方案1】:

    Eclipse Oxygen 中不存在这些类。所有这些要么在 internal 包中,要么在 JavaDoc 中标记为 @noreference。这意味着它们从来都不是官方 API 的一部分,你不应该使用它们。 Eclipse 保留以任何他们想要的方式删除或更改内部类的权利。

    【讨论】:

    • 谢谢@greg-449,你能建议我改用什么
    • 对不起,我不知道这些做了什么,或者是否有类似的东西。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2018-03-19
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多