mybatis-generator报错:org.mybatis.generator.api.dom.xml.Element

zhiyuan0 2020-06-02

报错信息

Failed to execute goal org.mybatis.generator:mybatis-generator-maven-plugin:1.4.0:generate (default-cli) on project doc-cms: Execution default-cli of goal org.mybatis.generator:mybatis-generator-maven-plugin:1.4.0:generate failed: A required class was missing while executing org.mybatis.generator:mybatis-generator-maven-plugin:1.4.0:generate: org/mybatis/generator/api/dom/xml/Element

解决办法

mybatis-generator-core 版本(1.4.0)太高, 更换为(1.3.7) 即可

相关推荐