写在myeclipse中->windows->preferences->搜索框输入xml->XML Catalog
->User Specified Entries里面自己配置个dtd的本地url校验
转:https://www.cnblogs.com/wkrbky/p/5896884.html