1. 获取dtd文件,解压 mybatis的jar包,找到路径mybatis-3.4.6orgapacheibatisuilderxml
2. windows > Preferences >Xml > Xml Catalog
3. 点击Add > 填入本地dtd路径