That is entirely unrelated to GWT-Maven, that's a GWT and Ubuntu thing
in general (happens whether or not you use Maven).

Try this:

sudo apt-get install libstdc++5

On Jan 4, 8:41 pm, karl <[email protected]> wrote:
> I use ubtuntu 8.04, and install the maven2.0.9.
> I have download the gwt-maven simplesample.
> At first, there are some error when I run $mvn gwt:gwt.
> Now I user $/mvn com.totsp.gwt:maven-googlewebtoolkit2-plugin:gwt.
> There are another error, as follow:
> [INFO] google.webtoolkit.home (gwtHome) *not* set, using project POM
> for GWT dependencies
> ** Unable to load Mozilla for hosted mode **
> java.lang.UnsatisfiedLinkError: /home/karl/.m2/repository/com/google/
> gwt/gwt-dev/1.5.3/mozilla-1.7.12/libxpcom.so: libstdc++.so.5: cannot
> open shared object file: No such file or directory
>         at java.lang.ClassLoader$NativeLibrary.load(Native Method)
>         at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
>         at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1647)
>         at java.lang.Runtime.load0(Runtime.java:770)
>         at java.lang.System.load(System.java:1005)
>         at com.google.gwt.dev.shell.moz.MozillaInstall.load
> (MozillaInstall.java:190)
>         at com.google.gwt.dev.BootStrapPlatform.init(BootStrapPlatform.java:
> 49)
>         at com.google.gwt.dev.GWTShell.main(GWTShell.java:354)
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Exception attempting to run script - run.sh
>
> Embedded error: run.sh script exited abnormally with code - 1
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 7 seconds
> [INFO] Finished at: Mon Jan 05 09:34:47 CST 2009
> [INFO] Final Memory: 16M/33M
> [INFO]
> ------------------------------------------------------------------------
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"gwt-maven" 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/gwt-maven?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to