Re: http://localhost:8080/....../gemsInquiry/gemsInquiry.nocaches.js 404 (Not Found)

61 views
Skip to first unread message
Message has been deleted

Colin Alworth

unread,
Jul 28, 2022, 11:17:55 AM7/28/22
to GWT Users
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 parthib...@gmail.com 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>

 

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

Reply all
Reply to author
Forward
Message has been deleted
0 new messages