1.在引入generatorConfig.xml 遇到错误如下
<!DOCTYPE generatorConfiguration PUBLIC "-//mybatis.org//DTD MyBatis Generator Configuration 1.0//EN" "http://mybatis.org/dtd/mybatis-generator-config_1_0.dtd">
URI is not registered ( Setting | Project Settings | Schemas and DTDs )
解决的方法:
1.file---->setting----->languages & frameworks-->
如下图所示

将报错的连接添加进去即可。