Hi,

I've created a test which extends GWTTestCase but I'm getting this error:

mvn integration-test gwt:test

Running com.myproject.test.ui. GwtTestMyFirstTestCase Translatable source
found in...
[WARN] No source path entries; expect subsequent failures [ERROR] Unable to
find type 'java.lang.Object' [ERROR] Hint: Check that your module inherits
'com.google.gwt.core.Core' either directly or indirectly (most often by
inheriting module 'com.google.gwt.user.User') Tests run: 1, Failures: 0,
Errors: 1, Skipped: 0, Time elapsed: 2.1 sec <<< FAILURE!

GwtTestMyFirstTestCase.java is in /src/test/java, while the GWT module is
located in src/main/java. I assume this shouldn't be a problem.

I've done everything required according to
http://mojo.codehaus.org/gwt-maven-plugin/user-guide/testing.html and of
course that my gwt module already has com.google.gwt.core.Core indirectly
imported.

I've described my problem here
http://stackoverflow.com/questions/2737173/error-when-running-a-gwttestcase-using-maven-gwt-plugin
.

Can someone please help?


Thanks in advance,

Alex Dancu

Reply via email to