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) On Wednesday, 24 November 2021 at 4:01:56 pm UTC+11 [email protected] wrote: > In dtd , www. Was missing. Eclipse issue. > > Adding the same resolved the issue. > > Thanks Thomas for your help. > > Regards. Manish > > > On Tue, 23 Nov, 2021, 5:04 pm Thomas Broyer, <[email protected]> wrote: > >> 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. >> >> On Tuesday, November 23, 2021 at 11:38:52 AM UTC+1 [email protected] >> wrote: >> >>> <?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" >>> "http://gwtproject.org/doctype/2.8.1/gwt-module.dtd"> >>> <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 >>> >> -- >> 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/a26a546a-34d9-44ef-bc41-47751bf73c79n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/google-web-toolkit/a26a546a-34d9-44ef-bc41-47751bf73c79n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- 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/faab0183-6aa1-48d4-a2dc-a2312475a946n%40googlegroups.com.
