mybatis-generator配置问题
来源:5-10 mybatis三剑客之mybatis-generator生成数据对象和时间戳优化
Great9
2019-04-16
[INFO] ------------------------------------------------------------------------
[INFO] Building mmall Maven Webapp 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] — mybatis-generator-maven-plugin:1.3.2:generate (default-cli) @ mmall —
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.435s
[INFO] Finished at: Tue Apr 16 17:36:22 CST 2019
[INFO] Final Memory: 6M/72M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.mybatis.generator:mybatis-generator-maven-plugin:1.3.2:generate (default-cli) on project mmall: configfile C:\Users\admin\IdeaProjects\uautotime\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
这个怎么解决?
1回答
-
geelylucky
2019-04-17
C:\Users\admin\IdeaProjects\uautotime\src\main\resources\generatorConfig.xml does not exist
它说你这个文件不存在
00
相似问题