My maven based GWT app suddenly started giving the following error
when I start the GWT Shell.
I am using the codehaus gwt-maven-plugin goal gwt:run to start the
shell:

                <groupId>org.codehaus.mojo</groupId>
                <artifactId>gwt-maven-plugin</artifactId>
                <version>1.1-20090420.082414-36</version>


Any idea what could be causing the problem? THis seems related but I
am not sure what I need to do to get out of this problem:

<http://groups.google.com/group/Google-Web-Toolkit/browse_thread/
thread/7ecb9d173c6f4304>

Here is my stacktrace:

[INFO] establishing classpath list (scope = runtime)
[ERROR] Exception in thread "main" java.lang.NoClassDefFoundError: com/
google/gwt/dev/HostedMode
[ERROR] Caused by: java.lang.ClassNotFoundException:
com.google.gwt.dev.HostedMode
[ERROR]         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
[ERROR]         at java.security.AccessController.doPrivileged(Native Method)
[ERROR]         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
[ERROR]         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
[ERROR]         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:
301)
[ERROR]         at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
[ERROR]         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:
320)
[ERROR] Could not find the main class: com.google.gwt.dev.HostedMode.
Program will exit.

Thanks for your help

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to