Hi Philip, The Google Eclipse Plugin is not entirely compatible with Maven, so I suspect the interaction between the two plugins may be the source of your troubles. Is it possible to create another GWT project which does *not* use the Maven plugin, and see if you run into similar problems? Let me know what you find.
Keith On Wed, Aug 5, 2009 at 10:54 AM, pgraham <philip.robert.gra...@gmail.com>wrote: > > Hi all, > > I'm having some problems running my gwt projects in hosted mode using > the Run As -> Web Application option from within eclipse. > > For starters, I'm running eclipse 3.5 with the maven plugin as well as > the google plugin. > > The first problem I have is the following exception: > > Exception in thread "main" java.lang.UnsatisfiedLinkError: Can't load > library: $M2_REPO/com/google/gwt/gwt-dev-linux/1.7.0/libswt-pi- > gtk-3235.so > at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1650) > at java.lang.Runtime.load0(Runtime.java:769) > at java.lang.System.load(System.java:968) > at org.eclipse.swt.internal.Library.loadLibrary(Library.java:132) > at org.eclipse.swt.internal.Callback.<clinit>(Callback.java:36) > at org.eclipse.swt.widgets.Display.createDisplay(Display.java:807) > at org.eclipse.swt.widgets.Display.create(Display.java:781) > at org.eclipse.swt.graphics.Device.<init>(Device.java:145) > at org.eclipse.swt.widgets.Display.<init>(Display.java:452) > at org.eclipse.swt.widgets.Display.<init>(Display.java:443) > at org.eclipse.swt.widgets.Display.getDefault(Display.java:1522) > at > com.google.gwt.dev.SwtHostedModeBase.<init>(SwtHostedModeBase.java: > 93) > at com.google.gwt.dev.HostedMode.<init>(HostedMode.java:271) > at com.google.gwt.dev.HostedMode.main(HostedMode.java:230) > > * The actual error message has the full path to the file instead of > $M2_REPO but changing the path to the repository in my maven > settings.xml file changes the path of the error message. > > I can fix this problem by putting the file it can't find from a gwt > download to the path it's looking for, but I don't understand why it's > even looking for the file there in the first place since it's part of > the gwt sdk that I have configured for my project. > > NOTE: Once I put the libswt-pi-gtk-3235.so file where it's being > looked for, I also have to do the same thing with mozilla-hosted- > browswer.conf, mozilla-1.7.12 (directory), libswt-gtk-3235.so, libswt- > mozilla-gtk-3235.so and libgwt-ll.so > > Any help on this would be appreciated, > Thanks > > Philip > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---