Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » NoclassDefFound .../SWTError when running exported application
NoclassDefFound .../SWTError when running exported application [message #550117] Thu, 29 July 2010 08:16 Go to next message
Kirill Zotkin is currently offline Kirill Zotkin
Messages: 11
Registered: July 2009
Junior Member
I'm getting a
!SESSION 2010-07-29 14:11:15.953 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_21
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=${target.os}, ARCH=${target.arch}, WS=${target.ws}, NL=${target.nl}
Command-line arguments: -os ${target.os} -ws ${target.ws} -arch ${target.arch} -consoleLog

!ENTRY org.eclipse.osgi 4 0 2010-07-29 14:11:19.687
!MESSAGE An error occurred while automatically activating bundle org.eclipse.ui.workbench (36).
!STACK 0
org.osgi.framework.BundleException: The activator org.eclipse.ui.internal.WorkbenchPlugin for bundle
org.eclipse.ui.workbench is invalid
...
Root exception:
java.lang.NoClassDefFoundError: org/eclipse/swt/SWTError

!ENTRY org.eclipse.osgi 2 0 2010-07-29 14:11:19.890
!MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root
cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2010-07-29 14:11:19.890
!MESSAGE Bundle org.eclipse.swt.win32.win32.x86_3.6.0.v3650b [34] was not resolved.
!SUBENTRY 2 org.eclipse.swt.win32.win32.x86 2 0 2010-07-29 14:11:19.906
!MESSAGE Platform filter did not match: (& (osgi.ws=win32) (osgi.os=win32) (osgi.arch=x86))
...

Windows XP, Helios 3.6 (checked md5), jre6_21 (updated).
It looks like a fragment org.eclipse.swt.win32.win32.x86 is not accessible. not exported is running ok.
Re: NoclassDefFound .../SWTError when running exported application [message #550215 is a reply to message #550117] Thu, 29 July 2010 14:35 Go to previous messageGo to next message
Florian Philipp is currently offline Florian Philipp
Messages: 43
Registered: February 2010
Member
Is the fragment listed in the Dependencies tab in your Product file?

Does your Target Platform contain the Delta Pack?

Do you develop on Windows for Windows or on Linux/Mac/whatever for Windows?
Re: NoclassDefFound .../SWTError when running exported application [message #550223 is a reply to message #550215] Thu, 29 July 2010 14:48 Go to previous messageGo to next message
Kirill Zotkin is currently offline Kirill Zotkin
Messages: 11
Registered: July 2009
Junior Member
Florian Philipp wrote on Thu, 29 July 2010 10:35
Is the fragment listed in the Dependencies tab in your Product file?

Yes.

Florian Philipp wrote on Thu, 29 July 2010 10:35

Does your Target Platform contain the Delta Pack?

Target Platform is a running platform. It contains that fragment. I didn't found where to get the Delta Pack for Helios, sorry...

Florian Philipp wrote on Thu, 29 July 2010 10:35

Do you develop on Windows for Windows or on Linux/Mac/whatever for Windows?

I'm developing on windows for windows (yet Wink).
Re: NoclassDefFound .../SWTError when running exported application [message #550229 is a reply to message #550223] Thu, 29 July 2010 14:58 Go to previous messageGo to next message
Kirill Zotkin is currently offline Kirill Zotkin
Messages: 11
Registered: July 2009
Junior Member
Found now:
http://download.eclipse.org/eclipse/downloads/drops/R-3.6-20 1006080911/solPlatform.php#DeltaPack
Re: NoclassDefFound .../SWTError when running exported application [message #550233 is a reply to message #550229] Thu, 29 July 2010 15:02 Go to previous messageGo to next message
Kirill Zotkin is currently offline Kirill Zotkin
Messages: 11
Registered: July 2009
Junior Member
No thats for Solaris, for Windows is here:
http://download.eclipse.org/eclipse/downloads/drops/R-3.6-20 1006080911/winPlatform.php#DeltaPack.
Re: NoclassDefFound .../SWTError when running exported application [message #550255 is a reply to message #550117] Thu, 29 July 2010 15:40 Go to previous messageGo to next message
Paul Webster is currently offline Paul Webster
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

Kirill Zotkin wrote:
> I'm getting a
> !SESSION 2010-07-29 14:11:15.953
> -----------------------------------------------
> eclipse.buildId=unknown
> java.version=1.6.0_21
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=${target.os}, ARCH=${target.arch},
> WS=${target.ws}, NL=${target.nl}
> Command-line arguments: -os ${target.os} -ws ${target.ws} -arch
> ${target.arch} -consoleLog

For whatever reason, you are passing -os ${target.os} -ws ${target.ws}
-arch ${target.arch} to the running system instead of -os win32 -ws
win32 -arch x86

PW



--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/workbench.htm


Re: NoclassDefFound .../SWTError when running exported application [message #550266 is a reply to message #550233] Thu, 29 July 2010 16:40 Go to previous message
Kirill Zotkin is currently offline Kirill Zotkin
Messages: 11
Registered: July 2009
Junior Member
After installing Delta Pack nothing changed Crying or Very Sad.

>For whatever reason, you are passing -os ${target.os} -ws ${target.ws}
-arch ${target.arch} to the running system instead of -os win32 -ws
win32 -arch x86

Thanks, this helped!

[Updated on: Thu, 29 July 2010 16:48]

Report message to a moderator

Previous Topic:Which database with RCP?
Next Topic:I want translate this text into Chinese
Goto Forum:
  


Current Time: Sun Sep 21 08:10:19 GMT 2014

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

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