MyEclipse里的dwr.xml第一行和第三行报错,如何解决?

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE dwr PUBLIC "-//GetAhead Limited//DTD Direct Web Remoting 2.0//EN" "http://directwebremoting.org/schema/dwr20.dtd">
<dwr>
     <allow>
          <create creator="spring" javascript="loginService">
              <param name="beanName" value="loginService"></param>
          </create>
          
          <create creator="spring" javascript="catelogService">
              <param name="beanName" value="catelogService"></param>
          </create>
          <convert converter="bean" match="com.model.TCatelog">
              <param name="include" value="catelogId,catelogName"></param>
          </convert>
          
          
          <create creator="spring" javascript="cartService">
              <param name="beanName" value="cartService"></param>
          </create>
     </allow>
</dwr>

第一行报错信息:Description Resource Path Location Type
Referenced file contains errors (http://directwebremoting.org/schema/dwr20.dtd). For more information, right click on the message in the Problems View and select "Show Details..." dwr.xml /qicheZulin/WebRoot/WEB-INF line 1 XML Problem
第三行报错信息:Description Resource Path Location Type
Error while downloading 'http://directwebremoting.org/schema/dwr20.dtd' to C:\Users\24566.lemminx\cache\http\directwebremoting.org\schema\dwr20.dtd. dwr.xml /qicheZulin/WebRoot/WEB-INF line 3 Language Servers

我的想法:
1,建议使用IDEA
2,XML的错误,不影响运行。重启能解决一部分问题。

会不会是版本过低问题,2改成3试一下

<!DOCTYPE dwr PUBLIC "-//GetAhead Limited//DTD Direct Web Remoting 3.0//EN" "http://directwebremoting.org/schema/dwr30.dtd">
您好,我是有问必答小助手,您的问题已经有小伙伴帮您解答,感谢您对有问必答的支持与关注!
PS:问答VIP年卡 【限时加赠:IT技术图书免费领】,了解详情>>> https://vip.csdn.net/askvip?utm_source=1146287632