我正在将一个Eclipse插件从Kepler迁移到Luna,我在Eclipse Problems
选项卡中遇到了这些错误。
Access restriction: The type 'BundleContext' is not API (restriction on required library '/eclipse/plugins/org.eclipse.osgi_3.10.2.v20150203-1939.jar')
Access restriction: The type 'IStartup' is not API (restriction on required library '/LUNA/eclipse/plugins/org.eclipse.ui.workbench_3.106.2.v20150204-1030.jar')
Description Resource Path Location Type
Access restriction: The type 'SWT' is not API (restriction on required library '/LUNA/eclipse/plugins/org.eclipse.swt.gtk.linux.x86_64_3.103.2.v20150203-1351.jar') HiteView.java /mvc/view line 81 Java Problem
Description Resource Path Location Type
Access restriction: The type 'Shell' is not API (restriction on required library 'eclipse/plugins/org.eclipse.swt.gtk.linux.x86_64_3.103.2.v20150203-1351.jar') HiteView.java /mvc/view line 38 Java Problem
还有一些更像。
有什么想法吗?