请稍等 ...
×

采纳答案成功!

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

老师这是哪里的问题,

“C:\Program Files\Java\jdk1.8.0_191\bin\java” -Dmaven.multiModuleProjectDirectory=C:\mmall -Dmaven.multiModuleProjectDirectory=$M2_HOME -Dmaven.home=C:\wook_tool\apache-maven-3.6.0 -Dclassworlds.conf=C:\wook_tool\apache-maven-3.6.0\bin\m2.conf -Didea.launcher.port=7532 “-Didea.launcher.bin.path=C:\IntelliJ IDEA 15.0.6\bin” -Dfile.encoding=UTF-8 -classpath “C:\wook_tool\apache-maven-3.6.0\boot\plexus-classworlds-2.5.2.jar;C:\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] ‘build.plugins.plugin.version’ for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 264, 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] -----------------------------< com:mmall >------------------------------
[INFO] Building mmall Maven Webapp 1.0-SNAPSHOT
[INFO] --------------------------------[ war ]---------------------------------
[INFO]
[INFO] — mybatis-generator-maven-plugin:1.3.2:generate (default-cli) @ mmall —
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.795 s
[INFO] Finished at: 2019-01-27T18:58:29+08:00
[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å°m.m2
[ERROR] epositorymysqlmysql-connector-java8.0.14mysql-connector-java-8.0.14.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

上面是错误信息

那个奇怪的路径我只找到了我的这个路径
图片描述
请问老师这个哪里有错误

正在回答

1回答

geelylucky 2019-01-27 19:19:19

亲爱的同学,你好,我是geely老师的助教。

mysql-connector-java-8.0.14.jar,你的jar包版本太高了,保持和老师一样的版本。

0 回复 有任何疑惑可以回复我~
  • 提问者 草莓青菜 #1
    老师你好,我的mysql用的8.0.14版本的额
    回复 有任何疑惑可以回复我~ 2019-01-27 19:20:19
  • 提问者 草莓青菜 #2
    非常感谢!
    回复 有任何疑惑可以回复我~ 2019-01-27 19:39:30
  • 提问者 草莓青菜 #3
    老师,这个问题是mysql版本的问题吗,我用的win10系统
    回复 有任何疑惑可以回复我~ 2019-01-27 19:40:09
问题已解决,确定采纳
还有疑问,暂不采纳
意见反馈 帮助中心 APP下载
官方微信