jump to navigation

The Three Stooges May 29, 2008

Posted by Dmitri in Uncategorized.
trackback

So I’m stuck on every front I can think of:

When I run in Hosted mode, I get the error I posted about before.

When I debug in hosted mode, I get this interesting error in Eclipse:

source not found
NativeMethodAccessorImpl.invoke(Object, Object[]) line: not available
DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: not available
Method.invoke(Object, Object…) line: not available
IDispatchImpl.callMethod(CompilingClassLoader, Object, Variant[],
Method) line: 126
MethodDispatch.invoke(int, int, Variant[]) line: 88
MethodDispatch(IDispatchImpl).Invoke(int, int, int, int, int, int, int, int) line: 293
MethodDispatch(IDispatchImpl).method6(int[]) line: 196
COMObject.callback6(int[]) line: 117
OS.DispatchMessageW(MSG) line: not available [native method]
OS.DispatchMessage(MSG) line: 1925
Display.readAndDispatch() line: 2966
GWTShell.pumpEventLoop() line: 689
GWTShell.run() line: 550
GWTShell.main(String[]) line: 321

When I try and compile my code so I can try to run it in the extension directly, I get yet a third error:

Exception in thread "main" java.lang.NoClassDefFoundError: com/google/gwt/dev/GWTCompiler
Caused by: java.lang.ClassNotFoundException: com.google.gwt.dev.GWTCompiler
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)

Will continue to try to solve either one of these 3 problems

Advertisements

Comments»

1. Dmitri - May 29, 2008

Update: The debugging error is simply because the debugger doesn’t have the sources to step through, because it’s trying to debug the remote server code. So it doesn’t look there’s anyway to fix that unless I can add the remote server code as the source, which I don’t think you can do with a deployed servlet.

2. The Third Bit » Blog Archive » Three Weeks In - June 1, 2008

[…] Vassiliev (SlashID): is running into landmines all over the place. As always, GWT and other toolkits are only as usable as they are […]


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: