mybatis-generator 失败

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

包肉的锅

2019-12-14

[ERROR] Failed to execute goal org.mybatis.generator:mybatis-generator-maven-plugin:1.3.2:generate (default-cli) on project MyMall: Execution default-cli of goal org.mybatis.generator:mybatis-generator-maven-plugin:1.3.2:generate failed: Plugin org.mybatis.generator:mybatis-generator-maven-plugin:1.3.2 or one of its dependencies could not be resolved: Could not transfer artifact org.sonatype.sisu:sisu-guice:jar:no_aop:3.1.0 from/to central (http://repo.maven.apache.org/maven2): Connection to http://117.143.109.205 refused: Connection timed out: connect -> [Help 1]

写回答

1回答

包肉的锅

提问者

2019-12-14

重装了maven之后变为

Failed to execute goal org.mybatis.generator:mybatis-generator-maven-plugin:1.3.2:generate (default-cli) on project mymall: Cannot connect to database (possibly bad driver/URL combination)

0
0

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

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

9476 学习 · 8804 问题

查看课程