运行mybatis-generate插件报错
来源:5-9 mybatis三剑客之mybatis-generator配置
Lifeisgreat
2017-10-23
E:\Java\jdk\bin\java -Dmaven.home=E:\happymmall\apache-maven-3.0.5 -Dclassworlds.conf=E:\happymmall\apache-maven-3.0.5\bin\m2.conf -Didea.launcher.port=7535 "-Didea.launcher.bin.path=E:\happymmall\IntelliJ IDEA 15.0.6\bin" -Dfile.encoding=UTF-8 -classpath "E:\happymmall\apache-maven-3.0.5\boot\plexus-classworlds-2.4.jar;E:\happymmall\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: 2.082s
[INFO] Finished at: Mon Oct 23 21:12:04 CST 2017
[INFO] Final Memory: 8M/27M
[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'@'117.89.43.186' (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/MojoExecutionException
Process finished with exit code 1
2回答
-
Access denied for user 'root'@'117.89.43.186' (using password: YES)
看看权限有问题吗
022017-10-24 -
手写的从前24
2017-11-16
你好 这个问题 要看哪儿 "Host 'AUTOBVT-1S1IFG8' is not allowed to connect to this MySQL server" -> [Help 1]
022017-11-16
相似问题