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>
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