[Libgdx]GWT 'not emitting code for accessing method'

I’m using Libgdx to make an HTML app and when I do “gradlew html:superdev” I’ve got a ton of error messages that says “not emitting code for accessing method … either in java.* or GWT related class”.

I have changed in GdxDefinition.gwt.xml the line


<!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit trunk//EN" "http://google-web-toolkit.googlecode.com/svn/trunk/distro-source/core/src/gwt-module.dtd">

to


<!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit trunk//EN" "file:///‪C:/UserName/Desktop/GWT-module.dtd">

because the default one seems to not work