saiddfhi / gwt-maven

Automatically exported from code.google.com/p/gwt-maven
0 stars 0 forks source link

Sample Maven 2 project does not work on x64 Linux #113

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Maven 2.0.6 through 2.0.9

What steps will reproduce the problem?
1. Check out example (revision 618)
2. mvn clean:install

[INFO] [gwt:gwt]
Exception in thread "main" java.lang.UnsatisfiedLinkError:
/home/stephen/src/gwt-sample/war/target/gwtBin/gwt-linux-1.4.61/libswt-pi-gtk-32
35.so:
/home/stephen/src/gwt-sample/war/target/gwtBin/gwt-linux-1.4.61/libswt-pi-gtk-32
35.so:
wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch)
        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 org.eclipse.swt.internal.Library.loadLibrary(Library.java:132)
        at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:22)
        at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)
        at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54)
        at org.eclipse.swt.widgets.Display.<clinit>(Display.java:126)
        at com.google.gwt.dev.GWTShell.<clinit>(GWTShell.java:264)
[

What version of the product are you using? On what operating system?
Ubuntu 7 & CentOS 5 x64 bit versions

Please provide any additional information below.

Original issue reported on code.google.com by stephen....@gmail.com on 29 May 2008 at 7:44

GoogleCodeExporter commented 9 years ago
In my opinion, the plugin should notify that GWT does not work on x64 arch. 
only on i386 32-bit

Original comment by stephen....@gmail.com on 29 May 2008 at 10:23

GoogleCodeExporter commented 9 years ago
From the GWT issue tracker:

http://code.google.com/p/google-web-toolkit/issues/detail?id=134

And from the GWT FAQ:

"    Problems that Occur with GWT and AMD64
    Get this error trying to run a GWT project? like: wrong ELF class: ELFCLASS32

    /gwt-linux/libswt-pi-gtk-3235.so: wrong ELF class: ELFCLASS32 (Possible cause:
architecture word width mismatch)

    This Error comes from running 64bit JVM and then GWT tries to use 32bit compiled
libraries. "

This has nothing to do with GWT-Maven, this is a GWTism in the native 
libraries.  

Original comment by charlie....@gmail.com on 4 Jun 2008 at 11:59