我们在Eclipse Release 4.5.1(Mars.1)中使用Java 1.8开发了基于RCP eclipse插件的UI控制台。我们使用带有Java 1.8的Eclipse Release 4.5.2(Mars.2)从Windows移植到Linux x86_64。
当我们尝试启动应用程序时,应用程序在显示启动画面后崩溃,弹出窗口表示创建了日志。请在下面找到一个日志文件片段:
!ENTRY org.eclipse.e4.ui.swt.gtk 2 0 2016-06-06 10:28:58.603
!MESSAGE Could not resolve module: org.eclipse.e4.ui.swt.gtk [98]
Unresolved requirement: Fragment-Host: org.eclipse.e4.ui.css.swt.theme; bundle-version="0.10.0"
!ENTRY org.eclipse.core.net.linux.x86_64 2 0 2016-06-06 10:28:58.603
!MESSAGE Could not resolve module: org.eclipse.core.net.linux.x86_64 [100]
Unresolved requirement: Fragment-Host: org.eclipse.core.net; bundle-version="1.1.0"
!ENTRY org.eclipse.swt.gtk.linux.x86_64 2 0 2016-06-06 10:28:58.603
!MESSAGE Could not resolve module: org.eclipse.swt.gtk.linux.x86_64 [99]
Unresolved requirement: Fragment-Host: org.eclipse.swt; bundle-version="[3.0.0,4.0.0)"
!ENTRY org.eclipse.core.filesystem.linux.x86_64 2 0 2016-06-06 10:28:58.603
!MESSAGE Could not resolve module: org.eclipse.core.filesystem.linux.x86_64 [97]
Unresolved requirement: Fragment-Host: org.eclipse.core.filesystem; bundle-version="[1.3.0,2.0.0)"
我们不确定如何继续操作,因为插件上的日期显示的是先前,稍后或与主机包同一天创建的片段。
Unresolved requirement: org.eclipse.swt_3.104.2.v20160212-1350.jar
Could not resolve module: org.eclipse.swt.gtk.linux.x86_64_3.104.2.v20160212-1350.jar
Unresolved requirement: org.eclipse.core.net_1.2.300.v20141118-1725.jar
Could not resolve module: org.eclipse.core.net.linux.x86_64_1.1.100.v20140124-2013.jar
Unresolved requirement: org.eclipse.e4.ui.css.swt.theme_0.10.0.v20150422-0725.jar
Could not resolve module: org.eclipse.e4.ui.swt.gtk_1.0.1.v20150708-1529.jar
Unresolved requirement: org.eclipse.core.filesystem_1.5.0.v20150725-1910.jar
Could not resolve module: org.eclipse.core.filesystem.linux.x86_64_1.2.200.v20140124-1940