<!DOCTYPE generatorConfiguration
PUBLIC "-//mybatis.org//DTD MyBatis Generator Configuration 1.0//EN"
"http://mybatis.org/dtd/mybatis-generator-config_1_0.dtd">
解决方法是:添加XML CATALOG
eclipse-->window-->preferences-->xml-->XML Catalog-->User Specified Entries-->Add--->找到下载文件的路径
添加进来即可 key:-//mybatis.org//DTD MyBatis Generator Configuration 1.0//EN location:下载文件的路径