window-preferences-XML Catalog-add
Location-file system-选择mybatis-3-config.dtd文件
Key上写mybatis-config-ok-ok
新建source文件,new->XML File->mybatis-config.xml->next->create xml file from dtd file
->select xml catalog entry->拉到最后mybatis-config->finish