Element type "entry-point" must be declared.

59 views
Skip to first unread message

Fast prep

unread,
Nov 23, 2021, 5:38:52 AM11/23/21
to GWT Users
<?xml version="1.0" encoding="UTF-8"?>
<!--
  When updating your version of GWT, you should also update this DTD reference,
  so that your app can take advantage of the latest GWT module capabilities.
-->
<!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit 2.8.1//EN"
<module rename-to='sandbox'>
  <!-- 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.clean.Clean'/>
  <!-- <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'/>     -->

  <!-- Other module inherits                                      -->

  <!-- Specify the app entry point class.                         -->
  <entry-point class='com.manish.sandy.client.SandBox'/>

  <!-- Specify the paths for translatable code                    -->
  <source path='client'/>
  <source path='shared'/>

  <!-- allow Super Dev Mode -->
  <add-linker name="xsiframe"/>
</module>

I am getting these errors . 
I am new to GWT . 

Kindly help 
000152.png

Thomas Broyer

unread,
Nov 23, 2021, 6:34:31 AM11/23/21
to GWT Users
Those errors are only about the XML DTD validation, but they actually won't affect GWT itself.

It looks like there's a problem with the gwtproject.org site that doesn't serve the doctype/2.8.1/gwt-module.dtd and instead redirects back to the home page, breaking XML DTD validation altogether (see that last error in your screenshot? its the one causing all the others).

Because the DTD is useless (it only used to help with autocompletion and the like in IDEs), I'd suggest removing the <!DOCTYPE line. This will clear those errors and won't change the GWT behavior in any way.

Fast prep

unread,
Nov 24, 2021, 12:01:56 AM11/24/21
to google-we...@googlegroups.com
In dtd , www. Was missing. Eclipse issue. 

Adding the same resolved the issue. 

Thanks Thomas for your help.

Regards. Manish


--
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 google-web-tool...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/a26a546a-34d9-44ef-bc41-47751bf73c79n%40googlegroups.com.

Craig Mitchell

unread,
Nov 26, 2021, 6:47:10 PM11/26/21
to GWT Users
The DTD is also included with the GWT SDK.  So you can just point it there.  Eg:

<!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit 2.9.0//EN" "file:///C:/mydir/gwt-2.9.0/gwt-module.dtd">

(change the location path to where you have your GWT SDK)
Reply all
Reply to author
Forward
0 new messages