Hello all,

       I have started to write simple unit tests and was able to run them 
from command-line with "mvn test". Unfortunately I was not able to do the 
same from eclipse environment. As I can see startup log is something 
different than one, produced by maven. Is this way of testing (from 
eclipse) still in use?  I have the following stack trace:
  
Enter code here...[ERROR] Unable to load module entry point class null (see 
associated exception for details)
java.lang.NoClassDefFoundError: java/lang/reflect/Executable
    at com.google.gwt.dev.shell.JavaDispatchImpl.getMethod(JavaDispatchImpl.
java:122)
    at com.google.gwt.dev.shell.JsValueOOPHM$DispatchObjectOOPHM.getField(
JsValueOOPHM.java:56)
    at com.google.gwt.dev.shell.OophmSessionHandler.invoke(
OophmSessionHandler.java:168)
    at com.google.gwt.dev.shell.BrowserChannelServer.
reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:341)
    at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(
BrowserChannelServer.java:222)
    at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.
java:121)
    at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:
573)
    at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.
java:293)
    at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(
JavaScriptHost.java:91)
    at com.google.gwt.core.client.impl.Impl.registerEntry(Impl.java)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:374)
    at com.google.gwt.dev.shell.OophmSessionHandler.loadModule(
OophmSessionHandler.java:200)
    at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(
BrowserChannelServer.java:530)
    at com.google.gwt.dev.shell.BrowserChannelServer.run(
BrowserChannelServer.java:368)
    at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ClassNotFoundException: java.lang.reflect.Executable
    at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
    ... 19 more


-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to