Failed to execute goal org.mybatis.generator:mybatis-generator-maven-plugin:1.3.5:generate (default-cli) on project miaosha: configfile E:\MavenProject\miaosha\scr\main\resources\mybatis-generator.xml does not exist -> [Help 1] [ERROR] 求解答,谢谢
兄弟我的错误跟你一样,你解决了没有
把mybatis-generator.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" >