Yes I fixed this problem. I have removed the class path entries and then refreshed the project and then re-added the class path entries and this worked for me.
On Oct 27, 9:16 am, Sanju <[email protected]> wrote: > Hi, I am getting following error when I try to run my web application > in hosted mode.Till now I was able to run it properly but I don't know > from today morning I am getting this error, also I have not made any > changes to the lib folder as well. > > Can any one please let me know how to eliminate this problem? Thanks > in advance. > > Exception in thread "main" java.lang.NoClassDefFoundError: com/google/ > gwt/dev/HostedMode > Caused by: java.lang.ClassNotFoundException: > com.google.gwt.dev.HostedMode > 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 java.lang.ClassLoader.loadClass(ClassLoader.java:307) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) > at java.lang.ClassLoader.loadClass(ClassLoader.java:252) > at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) > Could not find the main class: com.google.gwt.dev.HostedMode. Program > will exit --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
