0
点赞
收藏
分享

微信扫一扫

使用Mybatis反配置逆向工程,出现以下错误或者很多错误可以试试这个,错误eg:This is not a MyBatis Generator Configuration File


直接去官网的xml文件的案例中,把案例的头部分拷贝到你的文件中

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE generatorConfiguration
PUBLIC "-//mybatis.org//DTD MyBatis Generator Configuration 1.0//EN"
"http://mybatis.org/dtd/mybatis-generator-config_1_0.dtd">
<!--我也很纳闷,把官网的头部分拷贝过来,再点击就可以自动生成不会报错了 http://mybatis.org/generator/configreference/xmlconfig.html-->


举报

相关推荐

0 条评论