为何generator配置好了,jar包也下载了,但是还是不能自动生成实体类

傻傻的人傻 发布于 2017/01/16 15:34
阅读 501
收藏 0

在Intellij IDEA下为何generator配置好了,jar包也下载了,但是还是不能自动生成实体类;

运行状态如下:

[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building ssm Maven Webapp 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- mybatis-generator-maven-plugin:1.3.2:generate (default-cli) @ ssm ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.621 s
[INFO] Finished at: 2017-01-16T15:21:23+08:00
[INFO] Final Memory: 7M/164M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.mybatis.generator:mybatis-generator-maven-plugin:1.3.2:generate (default-cli) on project ssm: configfile F:\ZhongcehangWork\Project\ssm\src\main\resources\generatorConfig.xml does not exist -> [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/MojoExecutionException


Process finished with exit code 1


加载中
0
A
Againn
看错误应该是路径问题。 F:\ZhongcehangWork\Project\ssm\src\main\resources\generatorConfig.xml does not exist
0
风中凤华

都配置完后,运行哪里才能让他自动生成?

返回顶部
顶部