[RCP M8] NoClassDefFoundError org/eclipse/swt/widgets/Listener [message #247377] |
Sun, 30 May 2004 17:43  |
Eclipse User |
|
|
|
Originally posted by: fre_gilbert.yahoo.fr
Hi all,
I'm under Gentoo Linux and I tried the RCP Tutorial Part 1. In eclipse
my plugin works fine but when I running it outside Eclipse, it doesn't
work and I have a NoClassDefFoundError :
java.lang.NoClassDefFoundError: org/eclipse/swt/widgets/Listener
at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:151)
at
org.eclipse.ui.tutorials.rcp.part1.RcpApplication.run(RcpApp lication.java:26)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:277)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:239)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:117)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.basicRun(Main.java:267)
at org.eclipse.core.launcher.Main.run(Main.java:692)
at org.eclipse.core.launcher.Main.main(Main.java:676)
The plugins directory contains both org.eclipse.swt_3.0.0 and
org.eclipse.swt.gtk_3.0.0
Any idea ?
Thanks in advance,
Frédéric
|
|
|
|
Re: [RCP M8] NoClassDefFoundError org/eclipse/swt/widgets/Listener [message #247935 is a reply to message #247910] |
Tue, 01 June 2004 10:41  |
Eclipse User |
|
|
|
rob dingwell wrote:
> exquisitus wrote:
>
>> Hi all,
>>
>> I'm under Gentoo Linux and I tried the RCP Tutorial Part 1. In eclipse
>> my plugin works fine but when I running it outside Eclipse, it doesn't
>> work and I have a NoClassDefFoundError :
>> java.lang.NoClassDefFoundError: org/eclipse/swt/widgets/Listener
>> at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:151)
>> at
>> org.eclipse.ui.tutorials.rcp.part1.RcpApplication.run(RcpApp lication.java:26)
>>
>> at
>> org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:277)
>>
>> at
>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:239)
>>
>> at
>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:117)
>>
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
>>
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>>
>> at java.lang.reflect.Method.invoke(Method.java:324)
>> at org.eclipse.core.launcher.Main.basicRun(Main.java:267)
>> at org.eclipse.core.launcher.Main.run(Main.java:692)
>> at org.eclipse.core.launcher.Main.main(Main.java:676)
>>
>> The plugins directory contains both org.eclipse.swt_3.0.0 and
>> org.eclipse.swt.gtk_3.0.0
>>
>> Any idea ?
>>
>> Thanks in advance,
>>
>> Frédéric
>
>
> I got a similar error as well. Difference was that
> org/eclipse/swt/widgets/Control was the class not found.
> The exception occured at the same location in tutorial 1
> though and both the swt and swt gtk plugins where under the plugins
> directory. I tried this a couple of ways as well, one by using the
> RCP runtime download and the other by following the directions in
> the tutorial to create the directory structure and copy all of the
> plugins over. Neither worked and both gave the same error.
>
> Running under Fedora Core 1, jdk 1.4.2_03.
>
> Rob..
Also I forgot to mention that this was on M9 not M8.
Rob
|
|
|
Powered by
FUDForum. Page generated in 0.03611 seconds