为了账号安全,请及时绑定邮箱和手机立即绑定

我的mybatis-generator生成不了一直报错。大神帮我看看该怎么解决。

我的mybatis-generator生成不了一直报错。大神帮我看看该怎么解决。

慕设计4884252 2018-04-18 17:19:21
"C:\Program Files\Java\jdk1.7.0_80\bin\java" "-Dmaven.home=E:\idea\IntelliJ IDEA 15.0.6\plugins\maven\lib\maven3" "-Dclassworlds.conf=E:\idea\IntelliJ IDEA 15.0.6\plugins\maven\lib\maven3\bin\m2.conf" -Didea.launcher.port=7538 "-Didea.launcher.bin.path=E:\idea\IntelliJ IDEA 15.0.6\bin" -Dfile.encoding=UTF-8 -classpath "E:\idea\IntelliJ IDEA 15.0.6\plugins\maven\lib\maven3\boot\plexus-classworlds-2.4.jar;E:\idea\IntelliJ IDEA 15.0.6\lib\idea_rt.jar" com.intellij.rt.execution.application.AppMain org.codehaus.classworlds.Launcher -Didea.version=15.0.6 org.mybatis.generator:mybatis-generator-maven-plugin:1.3.2:generate[INFO] Scanning for projects...[WARNING] [WARNING] Some problems were encountered while building the effective model for com:mmall:war:1.0-SNAPSHOT[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: redis.clients:jedis:jar -> duplicate declaration of version 2.9.0 @ line 248, column 17[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 271, column 15[WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.[WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.[WARNING] [INFO]                                                                         [INFO] ------------------------------------------------------------------------[INFO] Building mmall Maven Webapp 1.0-SNAPSHOT[INFO] ------------------------------------------------------------------------[INFO] [INFO] --- mybatis-generator-maven-plugin:1.3.2:generate (default-cli) @ mmall ---[INFO] Connecting to the Database[INFO] ------------------------------------------------------------------------[INFO] BUILD FAILURE[INFO] ------------------------------------------------------------------------[INFO] Total time: 1.891s[INFO] Finished at: Wed Apr 18 17:03:10 CST 2018[INFO] Final Memory: 8M/108M[INFO] ------------------------------------------------------------------------[ERROR] Failed to execute goal org.mybatis.generator:mybatis-generator-maven-plugin:1.3.2:generate (default-cli) on project mmall: Access denied for user 'root'@'183.218.153.108' (using password: YES) -> [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/MojoExecutionExceptionProcess finished with exit code 1
查看完整描述

2 回答

?
Caballarii

TA贡献1123条经验 获得超629个赞

连不上数据库,数据库配置有问题或者你项目里配置的数据库用户名密码之类的有问题

查看完整回答
1 反对 回复 2018-04-18
  • 2 回答
  • 0 关注
  • 4911 浏览

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信