Hi, I faced the same problem and figured out that the problem was PATH variable which i set as environment variable, can you try removing/ correcting that variable if you have set that else check that the path where you created your project is inside gwt directory
On Feb 11 2008, 9:58 am, SBTECH <[email protected]> wrote: > I am new to the GWT. Have been a JSF developer for awhile. I am going > through the GWT in action book and working on the Dashboard exercise. > I am using Eclipse Europa 3.2. I am having problem when trying to > execute the application as described in the book. When I right click > the project and select RUN. I get an alert the says "Could not find > main class. Program will exit." Also the console displays the > following: > > java.lang.NoClassDefFoundError: com/google/gwt/util/tools/ToolBase > at java.lang.ClassLoader.defineClass1(Native Method) > at java.lang.ClassLoader.defineClass(Unknown Source) > at java.security.SecureClassLoader.defineClass(Unknown Source) > at java.net.URLClassLoader.defineClass(Unknown Source) > at java.net.URLClassLoader.access$100(Unknown Source) > at java.net.URLClassLoader$1.run(Unknown Source) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(Unknown Source) > at java.lang.ClassLoader.loadClass(Unknown Source) > at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) > at java.lang.ClassLoader.loadClass(Unknown Source) > at java.lang.ClassLoader.loadClassInternal(Unknown Source) > Exception in thread "main" > > I am I missing a jar file that has the ToolBase? Another interesting > thing is that I can run the application if I just double click on the > "Dashboard-shell.cmd" file. Any insightwould be appreciated. I really > would like to get through this book and get up to speed with GWT. JSF > is just not giving me everything my users want. > > Thanks, > SBTECH --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
