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

mybatis生成代码出错

mybatis生成代码出错

南极亚拉3947483 2019-02-20 16:30:07
"C:\Program Files\Java\jdk1.8.0_151\bin\java.exe" -Dmaven.multiModuleProjectDirectory=C:\Users\admin\IdeaProjects\dfdf -Dmaven.home=C:\Users\admin\Downloads\apache-maven-3.6.0-bin\apache-maven-3.6.0 -Dclassworlds.conf=C:\Users\admin\Downloads\apache-maven-3.6.0-bin\apache-maven-3.6.0\bin\m2.conf "-javaagent:F:\Program Files\JetBrains\IntelliJ IDEA 2018.3.4\lib\idea_rt.jar=4676:F:\Program Files\JetBrains\IntelliJ IDEA 2018.3.4\bin" -Dfile.encoding=UTF-8 -classpath C:\Users\admin\Downloads\apache-maven-3.6.0-bin\apache-maven-3.6.0\boot\plexus-classworlds-2.5.2.jar org.codehaus.classworlds.Launcher -Didea.version=2018.3.4 mybatis-generator:generator[INFO] Scanning for projects...[WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, no dependency information available[WARNING] Failed to retrieve plugin descriptor for org.eclipse.m2e:lifecycle-mapping:1.0.0: Plugin org.eclipse.m2e:lifecycle-mapping:1.0.0 or one of its dependencies could not be resolved: Failure to find org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 in http://maven.aliyun.com/nexus/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced[INFO] ------------------------------------------------------------------------[INFO] BUILD FAILURE[INFO] ------------------------------------------------------------------------[INFO] Total time:  1.613 s[INFO] Finished at: 2019-02-20T16:25:17+08:00[INFO] ------------------------------------------------------------------------[ERROR] Could not find goal 'generator' in plugin org.mybatis.generator:mybatis-generator-maven-plugin:1.3.5 among available goals generate, help -> [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/MojoNotFoundExceptionProcess finished with exit code 1
查看完整描述

3 回答

?
HansonQ

TA贡献223条经验 获得超56个赞

需要把你的xml贴出来

查看完整回答
反对 回复 2019-04-04
  • 3 回答
  • 0 关注
  • 1658 浏览
慕课专栏
更多

添加回答

举报

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