mybatis生成代码出错

"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/MojoNotFoundException


Process finished with exit code 1


南极亚拉3947483
浏览 1663回答 3
3回答

HansonQ

需要把你的xml贴出来
打开App,查看更多内容
随时随地看视频慕课网APP