15 years ago
Installing to Ubuntu 9.04 can cause NoSuchMethodError in GTK.initialize
Here is the problem and the solution. I installed the community edition of soapUI 3.5 to Ubuntu desktop 9.04 (Jaunty). I have Sun's JSE 6 installed, build 1.6.0_16-b01. Running soapui.sh gave me this
Exception in thread "XpcMessageLoop" java.lang.NoSuchMethodError: com.jniwrapper.gtk.GTK.initialize([Ljava/lang/String;)V
at com.teamdev.xpcom.impl.awt.linux.AwtLinuxPlatform.a(SourceFile:166)
at com.teamdev.xpcom.impl.E.initialize(SourceFile:69)
at com.teamdev.xpcom.c.run(SourceFile:150)
The fix is to un-comment this line in soapui.sh
# JAVA_OPTS="$JAVA_OPTS -Dsoapui.jxbrowser.disable=true"
I assume this disables some feature of 3.5 but I don't care; I'm now using soapui!
cheers,
Mark
Exception in thread "XpcMessageLoop" java.lang.NoSuchMethodError: com.jniwrapper.gtk.GTK.initialize([Ljava/lang/String;)V
at com.teamdev.xpcom.impl.awt.linux.AwtLinuxPlatform.a(SourceFile:166)
at com.teamdev.xpcom.impl.E.initialize(SourceFile:69)
at com.teamdev.xpcom.c.run(SourceFile:150)
The fix is to un-comment this line in soapui.sh
# JAVA_OPTS="$JAVA_OPTS -Dsoapui.jxbrowser.disable=true"
I assume this disables some feature of 3.5 but I don't care; I'm now using soapui!
cheers,
Mark