Wednesday, January 25, 2017

Re: GWT/Maven: No source code is available for type junit.framework.Test; did you forget to inherit a required module?

GWT doesn't care about folders, it reads resources from the classpath. And Eclipse does not have notions of "main" and test classpaths, so src/test/java is added to the classpath just like src/main/java. That said, a properly configured Eclipse+Maven+GWT project should configure GWT tasks to only include src/main/java. Things should also Just Work™ with Maven (I'd suggest getting Maven to work before Eclipse)

--
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 google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment