生成dao层和pojo层失败

来源:5-14 spring、springmvc配置实操

吖叻Desh

2019-02-23

“C:\Program Files\Java\jdk1.8.0_201\bin\java.exe” -Dmaven.multiModuleProjectDirectory=C:\Users\Administrator\IdeaProjects\susu -Dmaven.home=E:\apache-maven-3.6.0 -Dclassworlds.conf=E:\apache-maven-3.6.0\bin\m2.conf “-javaagent:E:\IntelliJ IDEA 2018.3.4\lib\idea_rt.jar=50119:E:\IntelliJ IDEA 2018.3.4\bin” -Dfile.encoding=UTF-8 -classpath E:\apache-maven-3.6.0\boot\plexus-classworlds-2.5.2.jar org.codehaus.classworlds.Launcher -Didea.version=2018.3.4 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:susu:war:1.0-SNAPSHOT
[WARNING] ‘build.plugins.plugin.version’ for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 263, 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:susu >------------------------------
[INFO] Building mmall Maven Webapp 1.0-SNAPSHOT
[INFO] --------------------------------[ war ]---------------------------------
[INFO]
[INFO] — mybatis-generator-maven-plugin:1.3.2:generate (default-cli) @ susu —
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.599 s
[INFO] Finished at: 2019-02-23T15:10:08+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.mybatis.generator:mybatis-generator-maven-plugin:1.3.2:generate (default-cli) on project susu: Execution default-cli of goal org.mybatis.generator:mybatis-generator-maven-plugin:1.3.2:generate failed: Cannot resolve classpath entry: C:\Users\Administrator\IdeaProjects\susu\src\main\resources -> [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-02-24

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

请加我qq:835683985

0
2
geelylucky
回复
吖叻Desh
嗯嗯,好的
2019-02-25
共2条回复

从0开始 独立完成企业级Java电商网站服务端开发

前后端分离,数据库接口设计,架构设计,功能开发,上线运维

9476 学习 · 8804 问题

查看课程