Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » [RCP M8] NoClassDefFoundError org/eclipse/swt/widgets/Listener
[RCP M8] NoClassDefFoundError org/eclipse/swt/widgets/Listener [message #247377] Sun, 30 May 2004 21:43 Go to next message
Eclipse UserFriend
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 #247910 is a reply to message #247377] Tue, 01 June 2004 14:01 Go to previous messageGo to next message
Rob Dingwell is currently offline Rob DingwellFriend
Messages: 24
Registered: July 2009
Junior Member
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..
Re: [RCP M8] NoClassDefFoundError org/eclipse/swt/widgets/Listener [message #247935 is a reply to message #247910] Tue, 01 June 2004 14:41 Go to previous message
Rob Dingwell is currently offline Rob DingwellFriend
Messages: 24
Registered: July 2009
Junior Member
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
Previous Topic:eclipse stopped inserting ${tags}
Next Topic:JBOSS ClassCastException when accessing remote home interface
Goto Forum:
  


Current Time: Thu Oct 10 23:29:18 GMT 2024

Powered by FUDForum. Page generated in 0.03616 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top