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" 
"http://google-web-toolkit.googlecode.com/svn/tags/1.6.2/distro-source/core/src/gwt-module.dtd";>
<module rename-to='stockwatcher'>
  <!-- Inherit the core Web Toolkit stuff.                        -->
  <inherits name='com.google.gwt.user.User'/>

  <!-- 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='com.google.gwt.user.theme.standard.Standard'/>
  <!-- <inherits name='com.google.gwt.user.theme.chrome.Chrome'/> -->
  <!-- <inherits name='com.google.gwt.user.theme.dark.Dark'/>     -->
  <!-- Specify the app entry point class.                         -->
  <entry-point 
class='com.google.gwt.sample.stockwatcher.client.StockWatcher'/>
</module>

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 com.google.gwt.sample.stockwatcher.StockWatcher.
   [ERROR] Hint: Check that your module inherits 'com.google.gwt.core.Core' 
either directly or indirectly (most often by inheriting module 
'com.google.gwt.user.User')


What am I missing?

On Thursday, April 29, 2021 at 4:14:19 PM UTC-5 [email protected] wrote:

> You need to take a look at the Module file in the project: *Xxx.gwt.xml*. 
> Example for StockWatcher demo app: 
> https://github.com/manolo/gwt-stockwatcher/blob/master/src/com/google/gwt/sample/stockwatcher/StockWatcher.gwt.xml
>
> ... or in my demo above: 
> https://github.com/lofidewanto/gwt-boot-sample-basic/blob/main/src/main/module.gwt.xml
>
> This is the module file for GWT, explanation: 
> http://www.gwtproject.org/doc/latest/DevGuideOrganizingProjects.html
>
> 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 
>> 'com.google.gwt.core.Core' either directly or indirectly (most often by 
>> inheriting module 'com.google.gwt.user.User')
>>
>> Have you seen this before?
>>
>> On Thursday, April 29, 2021 at 3:39:14 PM UTC-5 [email protected] wrote:
>>
>>> Try following this tutorial 
>>> https://dev.to/ibaca/modern-gwt-first-steps-509k
>>>
>>> On Thursday, April 29, 2021 at 11:36:02 PM UTC+3 [email protected] 
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> today I won't use the GWT plugin for Eclipse anymore... 
>>>>
>>>> I would just use *Eclipse / IntelliJ / Visual Studio Code* and *Maven*.
>>>>
>>>> Some introductions:
>>>>
>>>>    - Here is a Padlet for GWT. You can find some presentations and 
>>>>    articles about GWT here in this Padlet: 
>>>>    https://bit.ly/GWTIntroPadlet  <https://bit.ly/GWTIntroPadlet>
>>>>    - Introduction slides: https://bit.ly/gwtintropresentation
>>>>    - Simple article: https://bit.ly/WebJavaStory
>>>>    - Comprehensive article: 
>>>>    https://dev.to/ibaca/modern-gwt-first-steps-509k  
>>>>    <https://dev.to/ibaca/modern-gwt-first-steps-509k>
>>>>    - Simple "Hello World" example: 
>>>>    https://github.com/lofidewanto/gwt-boot-sample-basic
>>>>       - Just download the code as a zip file or make a git clone
>>>>       - From this basic project you could do the tutorial steps above
>>>>    
>>>> 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 
>>>>> http://www.gwtproject.org/doc/latest/tutorial/index.html
>>>>>
>>>>> 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/a1fe661e-82a5-4704-a10d-bb7c6521fbb2n%40googlegroups.com.

Reply via email to