Hi ヒトリ, It seems like you have conflicting JARs on your hosted mode launch configuration or project classpath. Which JDK are you using for development and for launching the hosted mode process? From the exception message you received, it's possible that the specific JDK you're using is rebundling some SWT bindings and causing the class lookup to sun.plugin2.main.server.IExplorerPlugin to occur and fail. If you could post up the classpath you're using plus some details about the JDK, it should help figure out what's going on.
Hope that helps, -Sumit Chandel On Thu, Sep 17, 2009 at 7:09 AM, ヒトリ <[email protected]> wrote: > > i added the google map to my gwt project,when i run the host browser > first time,the page is ok,but when i refresh the browser ,it throws > exception like this: > [ERROR] sun/plugin2/main/server/IExplorerPlugin > java.lang.NoClassDefFoundError: sun/plugin2/main/server/ > IExplorerPlugin > at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method) > at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1925) > at > org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2966) > at com.google.gwt.dev.SwtHostedModeBase.processEvents > (SwtHostedModeBase.java:235) > at com.google.gwt.dev.HostedModeBase.pumpEventLoop > (HostedModeBase.java:558) > at com.google.gwt.dev.HostedModeBase.run(HostedModeBase.java:405) > at com.google.gwt.dev.HostedMode.main(HostedMode.java:232) > Caused by: java.lang.ClassNotFoundException: > sun.plugin2.main.server.IExplorerPlugin > at java.net.URLClassLoader$1.run(Unknown Source) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(Unknown Source) > at java.lang.ClassLoader.loadClass(Unknown Source) > at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) > at java.lang.ClassLoader.loadClass(Unknown Source) > at java.lang.ClassLoader.loadClassInternal(Unknown Source) > at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method) > at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1925) > at > org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2966) > at com.google.gwt.dev.SwtHostedModeBase.processEvents > (SwtHostedModeBase.java:235) > at com.google.gwt.dev.HostedModeBase.pumpEventLoop > (HostedModeBase.java:558) > at com.google.gwt.dev.HostedModeBase.run(HostedModeBase.java:405) > at com.google.gwt.dev.HostedMode.main(HostedMode.java:232) > > > who can help me? > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" 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/google-web-toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
