标签:同事 generator bat win mysql\ rate repos location epo
(1)将Maven项目先clean,接着install下
(2)运行mvn mybatis-generator:generate命令
注意修改generatorConfig.xml的location:
<generatorConfiguration>
<classPathEntry
location="C:\Users\zhaoliang\.m2\repository\mysql\mysql-connector-java\5.1.40\mysql-connector-java-5.1.40.jar"/>
我这里就因为这个原因纠结了几分钟,同事用的是mac电脑,和windows路径不一样,一直报错
Failed to execute goal org.mybatis.generator:mybatis-generator-maven-plugin:1.3.2:generate
标签:同事 generator bat win mysql\ rate repos location epo
原文地址:http://www.cnblogs.com/zl0372/p/mybatis-generator.html