Can you share how you are starting GWT to debug this, and what the logs show?
You should not need (or want) both gwt-maven-plugins in your pom.xml. On Thursday, July 28, 2022 at 8:02:44 AM UTC-5 [email protected] wrote: > Hi Everyone, > I am using *Java 17* and *GWT 2.10.0* when trying to start > application through GWT plugin in IntelliJ. I am facing below error. > > > *<script type="text/javascript" language="javascript" > src="../gemsInquiry/gemsInquiry.nocache.js"></script>* > > *GET http://localhost:8080/..../gemsInquiry/gemsInquiry.nocaches.js > <http://localhost:8080/..../gemsInquiry/gemsInquiry.nocaches.js> 404 (Not > Found)* > > gemsInquiry.nocaches.js file not generated so I am facing 404 ERROR > > *GemsInquiry.gwt.xml* > > <?xml version="1.0" encoding="UTF-8"?> > <module rename-to="gemsInquiry"> > > <inherits name='com.google.gwt.user.User'/> > <inherits name='com.google.gwt.user.theme.standard.Standard'/> > <set-property name="user.agent" value="gecko1_8, safari, ie10" /> > > <!-- Specify the app entry point class. --> > <entry-point class='com.medassets.gems.client.GemsInquiry'/> > > <source path='client'/> > <source path='shared'/> > </module> > > > *pom.xml* > > <dependency> > <groupId>org.gwtproject</groupId> > <artifactId>gwt-servlet</artifactId> > <version>2.10.0</version> > <scope>runtime</scope> > </dependency> > > <dependency> > <groupId>org.gwtproject</groupId> > <artifactId>gwt-user</artifactId> > <version>2.10.0</version> > <scope>provided</scope> > </dependency> > > <dependency> > <groupId>org.gwtproject</groupId> > <artifactId>gwt-dev</artifactId> > <version>2.10.0</version> > <scope>provided</scope> > </dependency> > > > > <plugin> > <groupId>net.ltgt.gwt.maven</groupId> > <artifactId>gwt-maven-plugin</artifactId> > <version>1.0.1</version> > <extensions>true</extensions> > <configuration> > <moduleName>com....report.client.service</moduleName> > <skipModule>true</skipModule> > <outputDirectory>${project.build.outputDirectory}</outputDirectory> > > <moduleTemplate>${project.basedir}/src/main/resources/com/../gems/GemsInquiry.gwt.xml</moduleTemplate> > <extra>${project.build.directory}/gwt/extra</extra><!-- @formatter:off --> > <compilerArgs> > <arg>-gen</arg> > <arg> > > ${project.basedir}/../../target/..${finalNameVersion}${extn}/alliance-web-app-${project.parent.version} > </arg> > </compilerArgs> > > <launcherDir>${project.build.directory}/gwt/extra</launcherDir> > </configuration> > </plugin> > > <plugin> > <groupId>org.codehaus.mojo</groupId> > <artifactId>gwt-maven-plugin</artifactId> > <version>2.10.0</version> > <configuration> > <jsInteropMode>JS</jsInteropMode> > </configuration> > </plugin> > > > > Regards, > Parthiban Chelladurai > > -- 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 on the web visit https://groups.google.com/d/msgid/google-web-toolkit/e2233869-1bd1-428d-a616-fe7d5f992056n%40googlegroups.com.
