[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.technology.ercp] Running Hello World eRCP test app

Hi All,

I'm following the document "How to develop eRCP apps on Eclipse.pdf" exactly 
but I am unable to run the 'hello world' app in the document. The error log 
below is what I'm getting when I attempt to run the project as an 'eclipse 
application'..

Does anyone know what could be going wrong?  I am using eRCP M3 in this 
example since this is what the document was written for, but it would be 
nice to be able to use M8.

Thanks in advance,

Jim

!SESSION 2006-05-31 
23:59:56.159 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.5.0_06
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments:  -application 
org.eclipse.ercp.example.ercpHello.ercpHello -pdelaunch
Command-line arguments:  -application 
org.eclipse.ercp.example.ercpHello.ercpHello -data 
C:\Alldata\Tools\Eclipse\Workspaces\runtime-EclipseApplication -dev 
file:C:/Alldata/Tools/Eclipse/Workspaces/eRCP/.metadata/.plugins/org.eclipse.pde.core/Eclipse 
Application/dev.properties -pdelaunch -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.osgi 2006-05-31 23:59:56.740
!MESSAGE Bundle 
initial@reference:file:../../../../../../Eclipse/Workspaces/eRCP/org.eclipse.ercp.example.ercpHello/ 
[6] was not resolved.
!SUBENTRY 1 org.eclipse.osgi 2006-05-31 23:59:56.740
!MESSAGE Missing imported package org.eclipse.swt_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2006-05-31 23:59:56.740
!MESSAGE Missing imported package org.eclipse.swt.events_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2006-05-31 23:59:56.740
!MESSAGE Missing imported package org.eclipse.swt.graphics_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2006-05-31 23:59:56.740
!MESSAGE Missing imported package org.eclipse.swt.widgets_0.0.0.

!ENTRY org.eclipse.osgi 2006-05-31 23:59:56.740
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: Application 
"org.eclipse.ercp.example.ercpHello.ercpHello" could not be found in the 
registry. The applications available are: <NONE>.
 at 
org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:216)
 at 
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:393)
 at 
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:170)
 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:335)
 at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
 at org.eclipse.core.launcher.Main.run(Main.java:987)
 at org.eclipse.core.launcher.Main.main(Main.java:962)

!ENTRY org.eclipse.osgi 2006-05-31 23:59:56.750
!MESSAGE Bundle 
initial@reference:file:../../../../../../Eclipse/Workspaces/eRCP/org.eclipse.ercp.example.ercpHello/ 
[6] was not resolved.
!SUBENTRY 1 org.eclipse.osgi 2006-05-31 23:59:56.750
!MESSAGE Missing imported package org.eclipse.swt_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2006-05-31 23:59:56.750
!MESSAGE Missing imported package org.eclipse.swt.events_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2006-05-31 23:59:56.750
!MESSAGE Missing imported package org.eclipse.swt.graphics_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2006-05-31 23:59:56.750
!MESSAGE Missing imported package org.eclipse.swt.widgets_0.0.0.