The next step was include the swt.jar in the classpath. Now the error
is different and appears at the hosted console:

[ERROR] No instantiable browser widget class could be found
java.lang.ClassNotFoundException:
com.google.gwt.dev.shell.mac.BrowserWidgetSaf
        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)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Unknown Source)
        at com.google.gwt.dev.SwtHostedModeBase.createBrowserWidget
(SwtHostedModeBase.java:115)
        at com.google.gwt.dev.SwtHostedModeBase.openNewBrowserWindow
(SwtHostedModeBase.java:213)
        at com.google.gwt.dev.SwtHostedModeBase.launchStartupUrls
(SwtHostedModeBase.java:196)
        at com.google.gwt.dev.HostedModeBase.run(HostedModeBase.java:408)
        at com.google.gwt.dev.GWTShell.main(GWTShell.java:150)

On 1 oct, 14:46, "Raul.Vadillo" <[email protected]> wrote:
> Ok, something was wrong in my tests. Now I try again putting the gwt-
> dev-oophm.jar in the classpath of the run configuration. But now the
> problem is different, it throws the next error:
>
> java.lang.NoClassDefFoundError: org/eclipse/swt/widgets/Layout
> Caused by: java.lang.ClassNotFoundException:
> org.eclipse.swt.widgets.Layout
>         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"
>
> On 1 oct, 11:58, "Raul.Vadillo" <[email protected]> wrote:
>
> > Thank for your reply. I didn't now anything about oophm.
>
> > I can't makeFirefoxas navigator forhostedmodewith the few
> > information i found about that. I've folowed 
> > thishttp://code.google.com/p/google-web-toolkit/wiki/UsingOOPHMinstalling
> > theFirefox3.5 plugin and then i have put the gwt-dev-oophm.jar at
> > the top of the classpath, but when i run thehostedmodein Eclipse as
> > always, the navigator is the IE again.
>
> > On 30 sep, 21:04, Venkatesh Babu <[email protected]> wrote:
>
> > > Are you trying out of processhostedmode? If so, you should apply the oophm
> > > plugin to yourfirefox. One of the links to the 
> > > plug-in:http://code.google.com/p/google-web-toolkit/source/browse/branches/oo...
>
> > > Hope this helps.
>
> > > -Venkatesh
>
> > > On Wed, Sep 30, 2009 at 12:39 PM, Raul.Vadillo 
> > > <[email protected]>wrote:
>
> > > > First of all, I use Windows XP, Eclipse and GWT 1.7.
>
> > > > Really I can't useFirefoxas navigator in GWThostedmode?
> > > > I was searching about it in Google and don't find a response. Somebody
> > > > can explain me this? If not yet, will be avaiable in next GWT versions?
--~--~---------~--~----~------------~-------~--~----~
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