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

自动生成报错

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]


https://img.mukewang.com/5c2649ae0001b3ba07220644.jpg

https://img1.mukewang.com/5c2649ae000138e309990356.jpg

https://img2.mukewang.com/5c2649af0001b9b711990438.jpg


提问者:多云转晴2 2018-12-29 00:05

个回答

  • qq_慕娘8323304
    2018-12-29 17:22:47

    https://img4.mukewang.com/5c273a0b0001243314320284.jpg

    这个地方出错可能是因为
    https://img2.mukewang.com/5c273b580001903712740865.jpg




  • shran丶
    2018-12-29 17:11:33

    mybatis-generator:generate