Friday, April 30, 2021

Re: GWT tutorial does not compile

Don't you have to define the source path in the gwt.xml?

Ie: If your gwt.xml file is in

Then because your entry point is, you'd add:
<source path='client' />

To tell GWT it needs to look in and below.

On Friday, 30 April 2021 at 4:48:30 pm UTC+10 wrote:
Hmmm that looks fine from here... because the module (User.gwt.xml) inherits (Core.gwt.xml) so you don't need to directly inherits the Core module.

Here you can see that User module already inherits everything:

Maybe your project cannot find the the Core module file: Core.gwt.xml.

The problem is I don't know what the Eclipse GWT Plugin is doing today... how the dependencies are defined...

I your case I would just download this zip file from above: (simple "Hello World" example: and then copy & paste
  • all the Java classes
  • the HTML host file: index.html
  • the GWT Module file: Xxxx.gwt.xml
into the project...

I think we need to rework all the examples from GWT project site not to use the GWT plugin for Eclipse anymore... instead just using Maven.
likejudo schrieb am Freitag, 30. April 2021 um 02:24:09 UTC+2:
but I have not modified the tutorial file at all so it should have worked.

Thanks for the file. I took the gwt.xml from your link

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit 1.6.2//EN" "">
<module rename-to='stockwatcher'>
  <!-- Inherit the core Web Toolkit stuff.                        -->
  <inherits name=''/>

  <!-- Inherit the default GWT style sheet.  You can change       -->
  <!-- the theme of your GWT application by uncommenting          -->
  <!-- any one of the following lines.                            -->
  <inherits name=''/>
  <!-- <inherits name=''/> -->
  <!-- <inherits name=''/>     -->
  <!-- Specify the app entry point class.                         -->
  <entry-point class=''/>

I did Run As and picked Dev Mode:

Turning off precompile in incremental mode.
Super Dev Mode starting up
   workDir: C:\Users\Anil\AppData\Local\Temp\gwt-codeserver-9512230354285428339.tmp
2021-04-29 19:15:08.287:INFO::main: Logging initialized @691ms
   Loading Java files in
   [ERROR] Hint: Check that your module inherits '' either directly or indirectly (most often by inheriting module '')

What am I missing?

On Thursday, April 29, 2021 at 4:14:19 PM UTC-5 wrote:
You need to take a look at the Module file in the project: Xxx.gwt.xml. Example for StockWatcher demo app:

Hope this helps
likejudo schrieb am Donnerstag, 29. April 2021 um 22:48:51 UTC+2:
Thanks for the links.
I found from other posts that DOCTYPE was incorrectly set. 'www' is required and that fixed it. 
However, I am stuck here now:
   [ERROR] Hint: Check that your module inherits '' either directly or indirectly (most often by inheriting module '')

Have you seen this before?

On Thursday, April 29, 2021 at 3:39:14 PM UTC-5 wrote:
Try following this tutorial

On Thursday, April 29, 2021 at 11:36:02 PM UTC+3 wrote:

today I won't use the GWT plugin for Eclipse anymore... 

I would just use Eclipse / IntelliJ / Visual Studio Code and Maven.

Some introductions:
Hope this helps.
likejudo schrieb am Donnerstag, 29. April 2021 um 19:57:18 UTC+2:
I am learning GWT and was trying to run this tutorial

Using the Eclipse GWT plugin 3.0 on Windows 10 and JDK 11

I get this error on the first line Error: There is '1' error in 'gwt-module.dtd'.

I installed the plugin from the marketplace.
I see this error in other tutorials too.

Any suggestions appreciated.

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
To view this discussion on the web visit

No comments:

Post a Comment