I just had the same error message and it turned out to be my GWTUnit test 
classes being named SomeName*Test* instead of *GwtTest*SomeName. 
Ending on Test the GWTUnit test classes were picked up by the Surefire 
plugin instead of the GWT plugin. Removing the Test postfix and adding the 
GwtTest prefix solved that. 


On Thursday, April 23, 2015 at 9:06:15 AM UTC+2, Danish Khan wrote:
>
> Hi all, 
>
> I am upgrading to GWT 2.7.0 / Smartgwt 5, and I am seeing the following 
> error when I try to build it through maven: 
>
> [GWT]    [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')
>
> Here is my gwt.xml. Please let me know if you have any suggestions to fix 
> this error. 
>
> <?xml version="1.0" encoding="UTF-8"?>
> <module rename-to='dregtool'>
> <inherits name='com.google.gwt.user.User'/> 
> <inherits name="com.google.gwt.core.Core" />
> <inherits name="com.google.gwt.user.History"/> 
> <inherits name="com.dreg.tools.ui.GWTFramework" />
> <inherits name="com.dreg.at.atcommon.ATCommon" />
> <inherits name="com.dreg.at.atcommon.smartgwt.Components" />
> <inherits name="com.gwtext.GwtExt" />
> <inherits name="com.dreg.ajax.smartgwt.dregSmartGwt" />
> <inherits name="com.googlecode.gchart.GChart" />
> <inherits name="com.dreg.i18n.dregI18n" />
>
>   <source path='ui'/>
>   <stylesheet src='css/dreg-tool.css'/>
>   <entry-point class='com.dreg.at.ui.Main'/>
>   
>   <set-property name="gwt.suppressNonStaticFinalFieldWarnings" 
> value="true" />
>   <add-linker name="xsiframe"/>
> </module>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to