Eclipse3.2正式版导出RCP的BUG

简介:

换用Eclipse3.2有些日子了,从RC一直用到last release,以前用3.2RC版在6月份导出过RCP项目,没什么问题。现在8月,换了3.2 last release,用*.product文件的导出功能导出RCP项目后,却死活启动不了。依赖项目检查过了,和以往的版本也比对过了,虽然config.ini文件有变化,我想那也是最版本自已的变动,不会有什么大问题。异常日志如下:

! SESSION  2006 - 08 - 09   10 : 25 : 55.734   ----------------------------------------------- 
eclipse.buildId = unknown
java.version = 1.5 .0_05
java.vendor = Sun Microsystems Inc.
BootLoader constants: OS = win32, ARCH = x86, WS = win32, NL = zh_CN
Command - line arguments:   - os win32  - ws win32  - arch x86

! ENTRY org.eclipse.core.runtime  2006 - 08 - 09   10 : 25 : 57.125 
! MESSAGE 找不到产品 com.wxxr.management.admin.console.admin_console_product。

! ENTRY org.eclipse.osgi  4   0   2006 - 08 - 09   10 : 25 : 57.140 
! MESSAGE Application error
! STACK  1 
java.lang.RuntimeException: 找不到应用程序标识。
    at org.eclipse.core.internal.runtime.PlatformActivator$ 1 .run(PlatformActivator.java: 56 )
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java: 92 )
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java: 68 )
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java: 400 )
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java: 177 )
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: 39 )
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: 25 )
    at java.lang.reflect.Method.invoke(Method.java: 585 )
    at org.eclipse.core.launcher.Main.invokeFramework(Main.java: 336 )
    at org.eclipse.core.launcher.Main.basicRun(Main.java: 280 )
    at org.eclipse.core.launcher.Main.run(Main.java: 977 )
    at org.eclipse.core.launcher.Main.main(Main.java: 952 )

! ENTRY org.eclipse.osgi  2   0   2006 - 08 - 09   10 : 25 : 57.156 
! MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
! SUBENTRY  1  org.eclipse.osgi  2   0   2006 - 08 - 09   10 : 25 : 57.156 
! MESSAGE Bundle update@plugins / org.eclipse.gef_3. 2.0 .v20060626.jar was not resolved.
! SUBENTRY  2  org.eclipse.gef  2   0   2006 - 08 - 09   10 : 25 : 57.156 
! MESSAGE Missing required bundle org.eclipse.draw2d_[ 3.2 . 0 , 4.0 . 0 ).

! ENTRY org.eclipse.osgi  2   0   2006 - 08 - 09   10 : 25 : 57.156 
! MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry   for  the root cause   if  it exists:
! SUBENTRY  1  org.eclipse.osgi  2   0   2006 - 08 - 09   10 : 25 : 57.156 
! MESSAGE Bundle update@plugins / com.wxxr.management.admin.console_1. 0.0 .jar [ 6 ] was not resolved.
! SUBENTRY  2  com.wxxr.management.admin.console  2   0   2006 - 08 - 09   10 : 25 : 57.156 
! MESSAGE Missing required bundle org.eclipse.gef_0. 0.0 .
! SUBENTRY  1  org.eclipse.osgi  2   0   2006 - 08 - 09   10 : 25 : 57.156 
! MESSAGE Bundle update@plugins / org.eclipse.gef_3. 2.0 .v20060626.jar [ 40 ] was not resolved.
! SUBENTRY  2  org.eclipse.gef  2   0   2006 - 08 - 09   10 : 25 : 57.156 
! MESSAGE Missing required bundle org.eclipse.draw2d_[ 3.2 . 0 , 4.0 . 0 ).

下面是中文版的异常日志,英文版的如下:

! SESSION  2006 - 08 - 09   10 : 29 : 38.125   ----------------------------------------------- 
eclipse.buildId = unknown
java.version = 1.5 .0_05
java.vendor = Sun Microsystems Inc.
BootLoader constants: OS = win32, ARCH = x86, WS = win32, NL = zh_CN
Command - line arguments:   - os win32  - ws win32  - arch x86

! ENTRY org.eclipse.core.runtime  2006 - 08 - 09   10 : 29 : 39.421 
! MESSAGE Product com.wxxr.management.admin.console.admin_console_product could not be found.

! ENTRY org.eclipse.osgi  4   0   2006 - 08 - 09   10 : 29 : 39.421 
! MESSAGE Application error
! STACK  1 
java.lang.RuntimeException: No application id has been found.
    at org.eclipse.core.internal.runtime.PlatformActivator$ 1 .run(PlatformActivator.java: 56 )
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java: 92 )
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java: 68 )
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java: 400 )
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java: 177 )
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: 39 )
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: 25 )
    at java.lang.reflect.Method.invoke(Method.java: 585 )
    at org.eclipse.core.launcher.Main.invokeFramework(Main.java: 336 )
    at org.eclipse.core.launcher.Main.basicRun(Main.java: 280 )
    at org.eclipse.core.launcher.Main.run(Main.java: 977 )
    at org.eclipse.core.launcher.Main.main(Main.java: 952 )

! ENTRY org.eclipse.osgi  2   0   2006 - 08 - 09   10 : 29 : 39.437 
! MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
! SUBENTRY  1  org.eclipse.osgi  2   0   2006 - 08 - 09   10 : 29 : 39.437 
! MESSAGE Bundle update@plugins / org.eclipse.gef_3. 2.0 .v20060626.jar was not resolved.
! SUBENTRY  2  org.eclipse.gef  2   0   2006 - 08 - 09   10 : 29 : 39.437 
! MESSAGE Missing required bundle org.eclipse.draw2d_[ 3.2 . 0 , 4.0 . 0 ).

! ENTRY org.eclipse.osgi  2   0   2006 - 08 - 09   10 : 29 : 39.437 
! MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry   for  the root cause   if  it exists:
! SUBENTRY  1  org.eclipse.osgi  2   0   2006 - 08 - 09   10 : 29 : 39.437 
! MESSAGE Bundle update@plugins / com.wxxr.management.admin.console_1. 0.0 .jar [ 5 ] was not resolved.
! SUBENTRY  2  com.wxxr.management.admin.console  2   0   2006 - 08 - 09   10 : 29 : 39.437 
! MESSAGE Missing required bundle org.eclipse.gef_0. 0.0 .
! SUBENTRY  1  org.eclipse.osgi  2   0   2006 - 08 - 09   10 : 29 : 39.437 
! MESSAGE Bundle update@plugins / org.eclipse.gef_3. 2.0 .v20060626.jar [ 25 ] was not resolved.
! SUBENTRY  2  org.eclipse.gef  2   0   2006 - 08 - 09   10 : 29 : 39.437 
! MESSAGE Missing required bundle org.eclipse.draw2d_[ 3.2 . 0 , 4.0 . 0 ).


最后耗了一个下午,Google了很多资料,还是不行。于是去Eclipse.org当了3.2的一个8月份更新的版本,文件名eclipse-SDK-M20060802-0800-win32.zip。用这个版本导出RCP项目一点问题也没有。

我比对了3.2M20060802版和3.2正式版的不同。发现config.ini、.eclipseproduct都一样。把后者导出的项目jar包换在前者中,也能正常启动。而且我检查了plugin目录下的文件,两者种类数目都相同,所以依赖的插件也对。唯一不同的就是plugin目录下依赖插件的版本不同。我想可能是后者导出的这些依赖插件的内部存在有BUG吧。

另外,3.2版的语言包在3.2M20060802中也能使用。

目录
相关文章
|
9月前
|
API Android开发 数据安全/隐私保护
Android(三) 基于 eclipse 的 Android配置 APK文件的导出
Android(三) 基于 eclipse 的 Android配置 APK文件的导出
|
10月前
|
Java 应用服务中间件 Maven
解决Maven Web工程,用Eclipse导出War时,没有Lib的问题
解决Maven Web工程,用Eclipse导出War时,没有Lib的问题
106 0
|
Java Android开发
eclipse 代码模板导出配置
eclipse 代码模板导出配置
126 0
eclipse 代码模板导出配置
|
Android开发
eclipse导出项目为war提示Module name is invalid
版权声明:转载请注明出处:http://blog.csdn.net/dajitui2024 https://blog.csdn.net/dajitui2024/article/details/79396415 右击项目——properties——projectFacets——激活或者直接选择dynamic web那一项。
3142 0
|
Java Maven Android开发
Java项目导出源代码jar包在Eclipse中查看中文注释乱码的问题
问题现场: 由于项目比较多,全部添加到Maven主项目中的话虽然更新调试方便,但项目多了严重影响Eclipse的速度,所以将一部分项目单独导出包含源代码的jar包,上传到nexus上,供其它项目引用;但是在引用的项目中通过Eclipse查看时,中文注释都变成了乱码。
958 0
|
Java 大数据 Apache
Eclipse 4.3正式版发布
Eclipse 4.3版代号为Kepler。 主要特性如下:1. Eclipse WTP升级到3.5版,已经支持JavaEE 7应用程序的开发。2. Stardust 1.0提供了完整的BPM工具集和运行时。
916 0
|
大数据 Java Apache
Eclipse 4.3正式版发布
版权声明:本文为博主chszs的原创文章,未经博主允许不得转载。 https://blog.csdn.net/chszs/article/details/9183777 Eclipse 4.3正式版发布 作者:chszs,转载需注明。
827 0
|
Android开发 Windows
导出Eclipse Product的方法
1、创建product Configuration,这个是产品的配置文件,声明了要导出的RCP产品的形式,有无启动器,需要的插件,启动参数,名称,加载图片,splash等等。 2、实现两个扩展点     3、product文件Overview位置配置产品的ID、版本,启动produc...
1107 0