1、#######
不知是否有人与我一样碰到这个问题,先建立一个RCP应用,写了一段代码,试运行一下,再写一段代码,加入对某个插件的依赖后,程序就会报错:
java.lang.RuntimeException: Application "tets.application" could not be found in the registry. The applications available are: <NONE>.
原因在于Ecplipse启动RCP应用的配置没有根据plugin中的设置而变化,所以启动时出错。
改正办法:RUN->Debug,把Eclipse Application中的启动配置删除,再启动就对了。
2、########
在工程中建立了多个RCP程序,突然发现跑不起来了
点击Run->Run…->plug-ins中Add Required plug-ins
发现不好使,然后更改一下Target与IDE不一样了,重复以上操作,发现好使了,关于target,介绍一下:
IDE(eclipse)——>target(目标)——>workspace
每一级都是 1 对 n 的关系。
默认是 target=IDE.
target的好处是方便插件的改变,开发时不会影响到IDE.
比如我的IDE(D:\eclipse),target(D:\target),workspace(D:\workspace)
使用eclipse开发时,可以不修改IDE,只变化target。
改变target的方法:Window->Preferences Plug-in Development > Target Platform Location
刚开始开发的时候没有设target,使用了缺省的默认IDE,在更换Target之后,再更新一下需要的plug-ins就可以了,为了不影响另外的Target,又下载了单独的RCP的SDK:eclipse-RCP-SDK-3.2-win32。
本文来自CSDN博客,转载请标明出处:http://blog.csdn.net/zhaosen241/archive/2008/12/31/3670338.aspx
3####
菜单Run-Open Run Diagram,找到相应的RCP程序,点Plug-ins,点击按钮Add Required Plug-ins按钮,保存即可。好像是eclipse不会自动根据plugin.xml文件在运行的时候添加需要的包。
分享到:
相关推荐
成功解决安装pywin32时出现python version 3.6 required, which was not found in the registry 目录 解决问题 解决方法 第一步,打开注册编辑器:regedit 第二步,如图所示,定位到python 第三步,把注册表中文件夹...
安装PIL库的时候,直接提示:Python version 2.7 required, which was not found in the registry。 如图: 大意是说找不到注册表,网上搜索解决方案。 新建一个register.py文件写入代码: 复制代码 代码如下: ...
Driver Information in the Registry
Structuring of Services in the Registry .
Could not resolve dependencies for project org.apache.flink:flink-avro-confluent-registry:jar:1.15.3: Could not find artifact io.confluent:kafka-schema-registry-client:jar:6.2.2 in maven 安装本地...
Windows Registry Forensics: Advanced Digital Forensic Analysis of the Windows Registry, Second Edition, provides the most in-depth guide to forensic investigations involving Windows Registry....
Tools and techniques will be presented that take the analyst beyond the current use of viewers and into real analysis of data contained in the Registry. Packed with real-world examples using ...
in the demo mode, or the value 1, when the driver has found a valid key, and therefore is licenced. This function is also available via the OPC server interface. The same item-ID address format has...
You must have permissions to change the security settings of the target computer‘s Registry keys, which typically means that you must be logged in as a domain administrator to use this feature.Note ...
* Registry tab page if the Support Info screen did not display DWORD values correctly * A duplicated user did not show role privileges in SQL statements when no new user name was provided * Object ...
While lots of Windows NT settings can be changed through the registry, disabling the Lock Workstation button in the Windows NT Security (Ctrl-Alt-Del) dialog seems to be forgotten. This program ...
The demos should be run in the order in which they are listed in the supplied project group. Even if you have used previous versions of the Drag and Drop Component Suite it would be a good idea to ...
If an Internet session object cannot be initialized based on the configuration specified in the registry entry HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings, an error ...
Assuming the page reference does not result in an access violation, a page fault can be either hard or soft. A hard page fault results in a read from disk, either a page file or memory-mapped file. A...
Previous revisions did not range-check the palette index number, and hard crashes could be produced if out-of-range values were supplied to this routine. Previous release 1.33b Release date: ...
解决安装PyWin32问题:Python version x.x required, which was not found in the registry.
Files contained in registry-3.1.3.jar: META-INF/MANIFEST.MF com.ice.jni.registry.RegMultiStringValue.class com.ice.jni.registry.RegBinaryValue.class com.ice.jni.registry.RegistryException.class ...
解决Python version 2.7 required, which was not found in the registry 内有安装scrapy win64位安装教程及所有安装插件,成功安装 1.python-2.7.8.amd64.msi 2.pywin32-219.win-amd64-py2.7.exe 3.zope.interface-...
This example demonstrates how to edit the registry so your application is associated with a certain file extension.