Hello everybody
I'm posting on this forum to best way get to know that how I can
install GWT on fedora 8 as I just ziped copied and extracted a eclipse
folder from a resource in an office and tomcat(may be need later on).
As I had little experience in it I managed to remove most of the
problems b renaming many of the sdks and plugin paths and copying some
missing jars and it compiled the GWT program also but it shows this
error at the time running the program in the hosted mode (I'm not
using APP engine)
** Unable to load Mozilla for hosted mode **
java.lang.UnsatisfiedLinkError: /home/Raju/eclipse/plugins/
com.google.gwt.eclipse.sdkbundle.linux_1.6.4.v200904062334/gwt-
linux-1.6.4/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:1769)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1665)
at java.lang.Runtime.load0(Runtime.java:788)
at java.lang.System.load(System.java:1042)
at
com.google.gwt.dev.shell.moz.MozillaInstall.load(MozillaInstall.java:
190)
at
com.google.gwt.dev.BootStrapPlatform.initHostedMode(BootStrapPlatform.java:
53)
at com.google.gwt.dev.HostedModeBase.<init>(HostedModeBase.java:362)
at com.google.gwt.dev.SwtHostedModeBase.<init>(SwtHostedModeBase.java:
98)
at com.google.gwt.dev.HostedMode.<init>(HostedMode.java:271)
at com.google.gwt.dev.HostedMode.main(HostedMode.java:230)
and this is the code for client side same as generated by default
public class FirstExample implements EntryPoint {
/**
* The message displayed to the user when the server cannot be
reached or
* returns an error.
*/
private static final String SERVER_ERROR = "An error
occurred while " + "attempting to contact the server. Please check
your network "
+
"connection and try again.";
/**
* Create a remote service proxy to talk to the server-side
Greeting service.
*/
private final GreetingServiceAsync greetingService =
GWT.create(GreetingService.class);
/**
* This is the entry point method.
*/
public void onModuleLoad() {
Label label = new Label("Hello GWT !!!");
Button button = new Button("Say something");
button.addClickHandler(new ClickHandler() {
@Override
public void onClick(ClickEvent event) {
Window.alert("Hello, again");
}
});
RootPanel.get().add(label);
RootPanel.get().add(button);
}
}
I'm using a eclipse GANYMEDE and I have little bit for experience in
GWT along with Hibernate using mysql as back end. Hope my english is
not too much vaue to understand and anybody will reply soon.
Regards
Rituraj
--
You received this message because you are subscribed to the Google Groups
"GWT-Ext Developer Forum" 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-ext?hl=en.