I'm guessing that gwt-dev-linux.jar is not on your classpath. (Or
whatever the correct gwt-dev jar is for your OS).

________________________________

From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of Pavel Byles
Sent: Thursday, October 16, 2008 15:09
To: [email protected]
Subject: Error on 64bit System

 

I have just converted to using 64bit and I'm encountering some problems
configuring my GWT project which I created using Cypal Studio's plugin.
I am getting the following error:

Exception in thread "main" java.lang.NoClassDefFoundError:
org/eclipse/swt/internal/gtk/OS
    at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)
    at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54)
    at org.eclipse.swt.widgets.Display.<clinit>(Display.java:130)
    at com.google.gwt.dev.GWTShell.<clinit>(GWTShell.java:301)
Caused by: java.lang.ClassNotFoundException:
org.eclipse.swt.internal.gtk.OS
    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 sun.misc.Launcher$ExtClassLoader.findClass(Launcher.java:229)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
    ... 4 more
Could not find the main class: com.google.gwt.dev.GWTShell.  Program
will exit.

The error seems to be correct, because there really isn't a GWTShell
class anywhere.

I have followed the instruction on the Eclipse SWT page and build the
SWT jar for my system and copied to my JRE's lib/ext dir and it is
showing up in the build path correctly.

The project I have definitely worked when I was on 32bit.  And when I
created a new project it's giving the same error.

Have I missed something?

-Pavel




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to