mybatis- generator生成数据对象出错

来源:5-10 mybatis三剑客之mybatis-generator生成数据对象和时间戳优化

wlyer

2018-01-07

[ERROR] Failed to execute goal org.mybatis.generator:mybatis-generator-maven-plugin:1.3.2:generate (default-cli) on project mmall: Execution default-cli of goal org.mybatis.generator:mybatis-generator-maven-plugin:1.3.2:generate failed: Cannot resolve classpath entry: /Users/imooc/mysql-connector-java-5.1.6-bin.jar -> [Help 1]

[ERROR] 

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR] 

[ERROR] For more information about the errors and possible solutions, please read the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException


写回答

1回答

wlyer

提问者

2018-01-07

解决了,db.driverlocat配置错误,没连上数据库

1
1
Geely
好的同学,解决了就好。
2018-01-09
共1条回复

从0开始 独立完成企业级Java电商网站服务端开发

前后端分离,数据库接口设计,架构设计,功能开发,上线运维

9486 学习 · 8814 问题

查看课程