RCP can not say hello world [message #516202] |
Tue, 23 February 2010 08:14 |
Jinshan Messages: 24 Registered: December 2009 |
Junior Member |
|
|
I used the RCP Wizard to create a HelloWorld RCP Application.
But When I run it as a eclipse application, the eclipse say:
!SESSION Tue Feb 23 15:55:25 CST 2010 ------------------------------------------
!ENTRY org.eclipse.equinox.launcher 4 0 2010-02-23 15:55:25.100
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.ClassNotFoundException: org.eclipse.core.runtime.adaptor.EclipseStarter
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 608)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:566)
at org.eclipse.equinox.launcher.Main.run(Main.java:1363)
at org.eclipse.equinox.launcher.Main.main(Main.java:1339)
The eclipse version is eclipse-e4-SDK-incubation-I20100218-2100-win32
[Updated on: Tue, 23 February 2010 08:15] Report message to a moderator
|
|
|
|
Re: RCP can not say hello world [message #516308 is a reply to message #516202] |
Tue, 23 February 2010 15:10 |
|
Try the manual way and see if it works:
http://www.vogella.de/articles/EclipseE4/article.html
Cheers, Lars
--
http://www.vogella.de/ - Eclipse plugin and Eclipse RCP Tutorials
http://www.twitter.com/vogella - vogella on Twitter
On 23.02.2010 00:14, Jinshan wrote:
> I used the RCP Wizard to create a HelloWorld RCP Application.
> But When I run it as a eclipse application, the eclipse say:
>
> !SESSION Tue Feb 23 15:55:25 CST 2010
> ------------------------------------------
> !ENTRY org.eclipse.equinox.launcher 4 0 2010-02-23 15:55:25.100
> !MESSAGE Exception launching the Eclipse Platform:
> !STACK
> java.lang.ClassNotFoundException:
> org.eclipse.core.runtime.adaptor.EclipseStarter
> at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 608)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:566)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1363)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1339)
>
>
|
|
|
|
|
Re: RCP can not say hello world [message #516763 is a reply to message #516470] |
Thu, 25 February 2010 02:13 |
|
Did you check you launch configuration? Press "Validated .... " on the
plugin tab.
On 23.02.2010 23:09, Jinshan wrote:
> I use the build eclipse-e4-SDK-incubation-I20100218-2100-win32 and
> following the article, the ClassNotFoundException still rise.
>
>
> Lars Vogel wrote on Tue, 23 February 2010 10:10
>> Try the manual way and see if it works:
>> http://www.vogella.de/articles/EclipseE4/article.html
>>
>> Cheers, Lars
>>
>> --
>> http://www.vogella.de/ - Eclipse plugin and Eclipse RCP Tutorials
>> http://www.twitter.com/vogella - vogella on Twitter
>>
>>
>> On 23.02.2010 00:14, Jinshan wrote:
>> > I used the RCP Wizard to create a HelloWorld RCP Application.
>> > But When I run it as a eclipse application, the eclipse say:
>> >
>> > !SESSION Tue Feb 23 15:55:25 CST 2010
>> > ------------------------------------------
>> > !ENTRY org.eclipse.equinox.launcher 4 0 2010-02-23 15:55:25.100
>> > !MESSAGE Exception launching the Eclipse Platform:
>> > !STACK
>> > java.lang.ClassNotFoundException:
>> > org.eclipse.core.runtime.adaptor.EclipseStarter
>> > at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>> > at java.security.AccessController.doPrivileged(Native Method)
>> > at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>> > at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
>> > at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>> > at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 608)
>> > at org.eclipse.equinox.launcher.Main.basicRun(Main.java:566)
>> > at org.eclipse.equinox.launcher.Main.run(Main.java:1363)
>> > at org.eclipse.equinox.launcher.Main.main(Main.java:1339)
>> >
>> >
>
>
|
|
|
|
|
Re: RCP can not say hello world [message #569021 is a reply to message #569003] |
Thu, 25 February 2010 02:13 |
|
Did you check you launch configuration? Press "Validated .... " on the
plugin tab.
On 23.02.2010 23:09, Jinshan wrote:
> I use the build eclipse-e4-SDK-incubation-I20100218-2100-win32 and
> following the article, the ClassNotFoundException still rise.
>
>
> Lars Vogel wrote on Tue, 23 February 2010 10:10
>> Try the manual way and see if it works:
>> http://www.vogella.de/articles/EclipseE4/article.html
>>
>> Cheers, Lars
>>
>> --
>> http://www.vogella.de/ - Eclipse plugin and Eclipse RCP Tutorials
>> http://www.twitter.com/vogella - vogella on Twitter
>>
>>
>> On 23.02.2010 00:14, Jinshan wrote:
>> > I used the RCP Wizard to create a HelloWorld RCP Application.
>> > But When I run it as a eclipse application, the eclipse say:
>> >
>> > !SESSION Tue Feb 23 15:55:25 CST 2010
>> > ------------------------------------------
>> > !ENTRY org.eclipse.equinox.launcher 4 0 2010-02-23 15:55:25.100
>> > !MESSAGE Exception launching the Eclipse Platform:
>> > !STACK
>> > java.lang.ClassNotFoundException:
>> > org.eclipse.core.runtime.adaptor.EclipseStarter
>> > at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>> > at java.security.AccessController.doPrivileged(Native Method)
>> > at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>> > at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
>> > at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>> > at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 608)
>> > at org.eclipse.equinox.launcher.Main.basicRun(Main.java:566)
>> > at org.eclipse.equinox.launcher.Main.run(Main.java:1363)
>> > at org.eclipse.equinox.launcher.Main.main(Main.java:1339)
>> >
>> >
>
>
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04327 seconds