ycxjeremy
2017-01-16 07:50
采纳率: 31.8%
浏览 1.8k
已采纳

maven搭建项目出错了,不能自动生成实体类

[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

  • 写回答
  • 关注问题
  • 收藏
  • 邀请回答

1条回答 默认 最新

  • pony-zi 2017-01-16 08:25
    已采纳

    on project ssm: configfile F:\ZhongcehangWork\Project\ssm\src\main\resources**generatorConfig.xml does not exist **-> [Help 1]
    请仔细阅读报错信息

    打赏 评论

相关推荐 更多相似问题