DWR配置时遇到的错误:
Referenced file contains errors (http://www.getahead.ltd.uk/dwr/dwr10.dtd). For more information, right click on the message in the Problems View and select “Show Details…”
遇到该问题时在problems视图中的该错误上右键–>show details 出现下图:
错误原因:
在该错误中,eclipse通过dwr.xml文件去检测dwr10.dtd文件的过程中出现了错误,因此通过禁用Validation,就可以解决问题。
正常情况下,eclipse会对所有的文件进行检查,检查语法、代码等是否正确。其实可以适当的关闭,来提高性能。
解决方案:
在eclipse 里菜单项
Window –> Preferences –> Validation –>Disable All –> OK