Eclipse RCP can not find the extension definition & ldquo; run & rdquo;


I have an RCP application to develop; the code was written a couple of years ago, and I have to finish it. I imported the plugins in Eclipse, I solve all the dependencies, but when I try to launch it I get this error:

!SESSION 2011-04-06 09:12:58.203 -----------------------------------------------
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=it_IT
Framework arguments:  -product myapp.core.product
Command-line arguments:  -product myapp.core.product -data C:\Users\Me\Documents\Workspace/../runtime-myapp.product -dev 

file:C:/Users/Me/Documents/Workspace/.metadata/.plugins/org.eclipse.pde.core/Myapp.product/ -os win32 -ws win32 -arch x86 -consoleLog

    !ENTRY org.eclipse.osgi 4 0 2011-04-06 09:12:59.662
    !MESSAGE Application error
    !STACK 1
    org.eclipse.core.runtime.CoreException: Executable extension definition for "run" not found.
        at org.eclipse.core.internal.registry.ConfigurationElement.throwException(
        at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(
        at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.eclipse.equinox.launcher.Main.invokeFramework(
        at org.eclipse.equinox.launcher.Main.basicRun(
        at org.eclipse.equinox.launcher.Main.main(

If I export with wizard all go fine, but when I try to launch the exported application I get the same error. Before this error I had a problem with dependencies, but I solve it.

Anyone have some ideas? Thanks.

It looks like you have placed the text run inside of an extension point attribute where a class name is expected.

I'd recommend that you open the type ConfigurationElement and set a breakpoint on line 222 and run your rcp app in the debugger. You will be able to see more information that way.