The gwt-maven-plugin outputs the java command used to launch the
GWTShell when -X option is specified to mvn command.

I find that copying the command in a shell window and running it work.

This suggests the problem is with some maven plugin that has changed
and not with core gwt.
Sorry for the false alarm.

On Apr 24, 11:29 am, Farrukh Najmi <[email protected]> wrote:
> When I look at what jars changed recently in my local maven repo, the
> following jars look noteworthy:
>
> #Find jars in local maven repo that changed in last 5 hours
> find /home/najmi/.m2/repository -ctime -5 -name '*.jar'
>
> /home/najmi/.m2/repository/com/google/gwt/gwt-dev/1.6.4/mozilla-1.7.12/
> chrome/tasks.jar
> /home/najmi/.m2/repository/com/google/gwt/gwt-dev/1.6.4/mozilla-1.7.12/
> chrome/pipnss.jar
> /home/najmi/.m2/repository/com/google/gwt/gwt-dev/1.6.4/mozilla-1.7.12/
> chrome/US.jar
> /home/najmi/.m2/repository/com/google/gwt/gwt-dev/1.6.4/mozilla-1.7.12/
> chrome/toolkit.jar
> /home/najmi/.m2/repository/com/google/gwt/gwt-dev/1.6.4/mozilla-1.7.12/
> chrome/classic.jar
> /home/najmi/.m2/repository/com/google/gwt/gwt-dev/1.6.4/mozilla-1.7.12/
> chrome/content-packs.jar
> /home/najmi/.m2/repository/com/google/gwt/gwt-dev/1.6.4/mozilla-1.7.12/
> chrome/en-unix.jar
> /home/najmi/.m2/repository/com/google/gwt/gwt-dev/1.6.4/mozilla-1.7.12/
> chrome/pippki.jar
> /home/najmi/.m2/repository/com/google/gwt/gwt-dev/1.6.4/mozilla-1.7.12/
> chrome/en-US.jar
>
> Also gwt:compile target of gwt-maven-plugin to run GWT compiler gives:
>
> [INFO] Unpack native libraries required to run GWT
> [INFO] establishing classpath list (scope = compile)
> [ERROR] Exception in thread "main" java.lang.NoClassDefFoundError: com/
> google/gwt/dev/Compiler
> [ERROR] Caused by: java.lang.ClassNotFoundException:
> com.google.gwt.dev.Compiler
> [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.Compiler.
> Program will exit.
>
> Can anyone knowledgeable provide some guidance?
>
> On Apr 24, 11:05 am, Farrukh Najmi <[email protected]> wrote:
>
> > Hi Guys, This issue is a complete show stopper for my project. I would
> > be really grateful if someone can provide some guidance on how to get
> > over it quickly. Thanks.
>
> > On Apr 24, 10:43 am, "[email protected]" <[email protected]>
> > wrote:
>
> > > 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 [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