请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

关于mybatis-generator

"D:\Program Files\Java\jdk1.8.0_131\bin\java" -Dmaven.home=C:\apache-maven-3.0.5 -Dclassworlds.conf=C:\apache-maven-3.0.5\bin\m2.conf -Didea.launcher.port=7534 "-Didea.launcher.bin.path=D:\Program Files (x86)\JetBrains\IntelliJ IDEA 15.0.6\bin" -Dfile.encoding=UTF-8 -classpath "C:\apache-maven-3.0.5\boot\plexus-classworlds-2.4.jar;D:\Program Files (x86)\JetBrains\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] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.598s
[INFO] Finished at: Wed Oct 18 23:47:23 CST 2017
[INFO] Final Memory: 6M/123M
[INFO] ------------------------------------------------------------------------
[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: /c/Users/ASUS/IdeaProjects/mmall/src/main/tool/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

Process finished with exit code 1




老师,请问我这是什么原因?要怎么解决?谢谢

正在回答 回答被采纳积分+3

3回答

十年_之后 2018-02-20 11:31:13

兄弟,我应该遇到了和你一样的问题,请问你是怎么解决的

0 回复 有任何疑惑可以回复我~
提问者 慕UI2441027 2017-10-19 00:01:29

老师,我的路径应该没有错,https://img1.sycdn.imooc.com/szimg/59e77aca00011b3006510172.jpg

0 回复 有任何疑惑可以回复我~
Geely 2017-10-18 23:54:55

 Cannot resolve classpath entry: /c/Users/ASUS/IdeaProjects/mmall/src/main/tool/mysql-connector-java-5.1.6-bin.jar


你这个路径对吗?

0 回复 有任何疑惑可以回复我~
  • 提问者 慕UI2441027 #1
    老师,我上面有截图,路径应该不错
    回复 有任何疑惑可以回复我~ 2017-10-19 00:05:17
  • Geely 回复 提问者 慕UI2441027 #2
    提示就是路径错误,请检查。
    回复 有任何疑惑可以回复我~ 2017-10-19 00:27:26
  • Geely 回复 提问者 慕UI2441027 #3
    c:\ windows把?你是?
    回复 有任何疑惑可以回复我~ 2017-10-19 00:28:00
问题已解决,确定采纳
还有疑问,暂不采纳
意见反馈 帮助中心 APP下载
官方微信