问答详情
源自:2-4 Mybatis自动生成器使用方式

mybatis-generator.generate出错

Unknown lifecycle phase "mybatis-generator.generate". You must specify a valid lifecycle phase or a goal in the format <plugin-prefix>:<goal> or <plugin-group-id>:<plugin-artifact-id>[:<plugin-version>]:<goal>. Available lifecycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy, pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy. -> [Help 1]

[ERROR] 

求问老师同学,这个怎么解决

提问者:慕田峪7198936 2019-07-01 11:34

个回答

  • Android小磊
    2019-07-02 00:30:59
    已采纳

    https://img3.mukewang.com/5d1a350b000127f708570152.jpg

    大兄弟  这里是引号   不是 点  mybatis-generator:generate


  • z不许人间见白头z
    2019-09-11 15:03:42

    在自动生成前面一步,在name命名的时候