情况:
我有一个 Eclipse RCP 应用程序,我正在尝试使用 Eclipse 的 tycho 插件构建它。
当我在 IDe 中执行我的 Eclipse 应用程序时 - 应用程序正常执行。
使用 tycho 构建应用程序时 - 抛出以下错误:
The type org.eclipse.swt.widgets.Button cannot be resolved. It is indirectly referenced from required .class files
我做了什么:
在其他情况下,我发现抛出“缺少要求”异常 -缺少传递插件依赖是原因。
In my case an SWT widget "Button" is missing, so I am trying to import swt. SWT is platform dependant so I am importing swt inside of the product, as described here.
Anyway, during compilation the error occurs again.
Question:
Do someone have any Idea, how to solve this Problem?