The fullmodule is 
```
<!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit 2.5//EN"
        
"http://google-web-toolkit.googlecode.com/svn/releases/2.5/distro-source/core/src/gwt-module.dtd";>
<module rename-to="springbootgwt">

    <inherits name='com.google.gwt.user.User'/>
    <inherits name="com.google.gwt.i18n.I18N"/>
    <inherits name='com.google.gwt.maps.Maps'/>
    <inherits name="gwt.material.design.GwtMaterialWithJQuery"/>
    <inherits name="gwt.material.design.addins.GwtMaterialAddins"/>
    <inherits name="gwt.material.design.GwtMaterialTable"/>
    <inherits name="gwt.material.design.amcharts.GwtMaterialAmCharts"/>
    <inherits name="com.google.web.bindery.requestfactory.RequestFactory"/>

    <inherits name="com.google.common.base.Base"/>
    <inherits name="com.google.common.collect.Collect" />
    <inherits name="com.google.gwt.logging.Logging"/>
    <inherits name="de.benediktmeurer.gwt.slf4j.api.API"/>
    <inherits name="de.benediktmeurer.gwt.slf4j.jul.JUL"/>
    <inherits name="com.google.gwt.inject.Inject"/>
    <inherits name="com.allen_sauer.gwt.dnd.gwt-dnd"/>
    <inherits name="com.google.common.io.Io"/>
    <inherits name='com.gwtplatform.mvp.MvpWithEntryPoint'/>
    <inherits name="net.lightoze.gwt.i18n.GwtI18nServer"/>

    <inherits name="com.github.nmorel.gwtjackson.GwtJackson" />
    <inherits name="com.github.nmorel.gwtjackson.rest.GwtJacksonRest" />

    <set-configuration-property name="gin.ginjector.modules" 
value="be.eforge.robaws.client.gin.RobawsModule"/>
    <set-configuration-property name="gwtp.bootstrapper" 
value="be.eforge.robaws.client.gin.RobawsBootstrapper"/>

    <set-configuration-property name="gin.classloading.exceptedPackages" 
value="com.google.gwt.core.client"/>
    <set-configuration-property name="gin.classloading.exceptedPackages" 
value="com.google.gwt.core.client.impl"/>
    <set-configuration-property name="devModeUrlWhitelistRegexp" 
value=".*"/>

    <source path="client"/>
    <source path="shared"/>
    <public path="public"/>

    <extend-property name="locale" values="nl_BE,fr,en,de"/>
    <set-property-fallback name="locale" value="nl_BE"/>

    <collapse-property name="locale" values="*"/>
    <collapse-property name="user.agent" values="gecko1_8,safari"/>

    <!-- readable stacktraces -->
    <set-property name="compiler.useSourceMaps" value="true"/>
    <!-- end readable stacktraces -->

    <set-configuration-property name="CssResource.style" value="pretty"/>
    <set-property name="gwt.logging.logLevel" value="INFO"/>
    <set-property name="gwt.logging.enabled" value="TRUE"/>
    <set-property name="gwt.logging.simpleRemoteHandler" value="ENABLED"/>
    <set-property name="gwt.logging.consoleHandler" value="ENABLED"/>

    <replace-with class="be.eforge.robaws.client.util.RemoteLogging">
        <when-type-is 
class="com.google.gwt.logging.client.SimpleRemoteLogHandler"/>
        <any>
            <when-property-is name="gwt.logging.enabled" value="TRUE"/>
            <when-property-is name="gwt.logging.simpleRemoteHandler" 
value="ENABLED"/>
        </any>
    </replace-with>

    <replace-with 
class="be.eforge.robaws.client.rest.RestRequestFactoryImpl">
        <when-type-is 
class="be.eforge.robaws.client.request.rest.RestRequestFactory"/>
    </replace-with>

    <generate-with class="be.eforge.robaws.remapping.RestRequestGenerator">
        <when-type-assignable 
class="be.eforge.robaws.client.request.rest.requests.RestRequest" />
    </generate-with>

    <generate-with 
class="be.eforge.robaws.remapping.RestRequestFactoryGenerator">
        <when-type-assignable 
class="be.eforge.robaws.client.request.rest.RestRequestFactory" />
    </generate-with>

    <extend-configuration-property 
name="gwtjackson.configuration.extension" 
value="be.eforge.robaws.client.request.rest.jackson.DefaultJacksonConfiguration"
 
/>

    <stylesheet src="css/robaws_style.css"/>
    <stylesheet src="css/general_style_fixes.css"/>
    <stylesheet src="css/froala_style.css"/>
    <stylesheet src="css/gwt_material_style_fixes.css"/>
    <stylesheet src="css/custom_styles.css"/>
    <stylesheet src="css/utility.css"/>
</module>

```

My test looks like

```
public class RobawsGWTTest extends GWTTestCase {

    @GwtIncompatible
    @Override
    protected void runTest() throws Throwable {
        setCompilerArgs();
        super.runTest();
    }

    @Override
    public String getModuleName() {
        return "be.eforge.robaws.SpringBootGwt";
    }

    @GwtIncompatible
    void setCompilerArgs() {
        String gwtArgs = System.getProperty("gwt.args", "");
        gwtArgs += " -sourceLevel 17";
        gwtArgs += " -optimize 0";
        gwtArgs += " -style PRETTY";
        System.setProperty("gwt.args", gwtArgs);
    }
}
```

(setcompilerArgs is required when launching them through Intellij, where it 
does work without any issue)

Op dinsdag 20 mei 2025 om 18:52:32 UTC+2 schreef Colin Alworth:

> I don't see a Gin inherits statement, which I think is how Guice imports 
> end up working, but maybe GWTP picks that up. Given how many "...did you 
> forget to inherit a required module" errors that are that seem to match 
> classes that should be already in your inherits, I'm guessing you shared 
> your "main" module, and that your test is using something different.
>
> Can you confirm this is the module file that your test is using, and not 
> just for production? Also, can you share the full log, to help confirm that 
> what you think is getting used is actually being used?
>
> On Tuesday, May 20, 2025 at 11:44:29 AM UTC-5 [email protected] wrote:
>
>> Hello
>>
>> Coming from https://github.com/tbroyer/gwt-maven-archetypes/issues/76 
>> I'd still like to fix the error that I am currently having.
>> The fix to change the source plugin from package to process-classes is 
>> causing the testsuite to not compile using mvn clean test.
>>
>> Packaging the application has no issues.
>>
>> These are my inherits:
>> ```
>>     <inherits name='com.google.gwt.user.User'/>
>>     <inherits name="com.google.gwt.i18n.I18N"/>
>>     <inherits name='com.google.gwt.maps.Maps'/>
>>     <inherits name="gwt.material.design.GwtMaterialWithJQuery"/>
>>     <inherits name="gwt.material.design.addins.GwtMaterialAddins"/>
>>     <inherits name="gwt.material.design.GwtMaterialTable"/>
>>     <inherits name="gwt.material.design.amcharts.GwtMaterialAmCharts"/>
>>     <inherits 
>> name="com.google.web.bindery.requestfactory.RequestFactory"/>
>>
>>     <inherits name="com.google.common.base.Base"/>
>>     <inherits name="com.google.common.collect.Collect" />
>>     <inherits name="com.google.gwt.logging.Logging"/>
>>     <inherits name="de.benediktmeurer.gwt.slf4j.api.API"/>
>>     <inherits name="de.benediktmeurer.gwt.slf4j.jul.JUL"/>
>>     <inherits name="com.google.gwt.inject.Inject"/>
>>     <inherits name="com.allen_sauer.gwt.dnd.gwt-dnd"/>
>>     <inherits name="com.google.common.io.Io"/>
>>     <inherits name='com.gwtplatform.mvp.MvpWithEntryPoint'/>
>>     <inherits name="net.lightoze.gwt.i18n.GwtI18nServer"/>
>>
>>     <inherits name="com.github.nmorel.gwtjackson.GwtJackson" />
>>     <inherits name="com.github.nmorel.gwtjackson.rest.GwtJacksonRest" />
>> ```
>>
>> Here is an overview of my errors. I am omitting the source of the files.
>> ```
>>    [ERROR] Errors in 'file:/...'
>>       [ERROR] Line 133: No source code is available for type 
>> com.google.inject.Provider<T>; did you forget to inherit a required module?
>>       [ERROR] Line 279: No source code is available for type 
>> com.gwtplatform.mvp.shared.proxy.PlaceRequest; did you forget to inherit a 
>> required module?
>>       [ERROR] Line 282: No source code is available for type 
>> com.google.common.base.Strings; did you forget to inherit a required module?
>>       [ERROR] Line 480: No source code is available for type 
>> com.google.common.base.Joiner; did you forget to inherit a required module?
>>       [ERROR] Line 738: No source code is available for type 
>> com.gwtplatform.mvp.client.proxy.PlaceManager; did you forget to inherit a 
>> required module?
>>       [ERROR] Line 761: No source code is available for type 
>> com.gwtplatform.mvp.shared.proxy.PlaceRequest.Builder; did you forget to 
>> inherit a required module?
>>       [ERROR] Line 1090: No source code is available for type 
>> com.google.web.bindery.requestfactory.shared.RequestContext; did you forget 
>> to inherit a required module?
>>       [ERROR] Line 1200: No source code is available for type 
>> com.google.common.base.Splitter; did you forget to inherit a required 
>> module?
>>       [ERROR] Line 1421: No source code is available for type 
>> com.google.web.bindery.requestfactory.shared.EntityProxy; did you forget to 
>> inherit a required module?
>>       [ERROR] Line 1422: No source code is available for type 
>> com.google.web.bindery.autobean.shared.AutoBeanCodex; did you forget to 
>> inherit a required module?
>>       [ERROR] Line 1422: No source code is available for type 
>> com.google.web.bindery.autobean.shared.AutoBeanUtils; did you forget to 
>> inherit a required module?
>>       [ERROR] Errors in 'jar:file:/.../MyProxy.java'
>>          [ERROR] Line 8: No source code is available for type 
>> com.google.web.bindery.requestfactory.shared.ValueProxy; did you forget to 
>> inherit a required module?
>>
>> ```
>>
>>

-- 
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 view this discussion visit 
https://groups.google.com/d/msgid/google-web-toolkit/b8d882ac-f041-40f7-8409-191c0afa5d1bn%40googlegroups.com.

Reply via email to