自动生成报错

来源:2-4 Mybatis自动生成器使用方式

多云转晴2

2018-12-29 00:05

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回答

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

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

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




    多云转晴2

    本来就是冒号,我已解决;将pom.xml中的<phase></phase>注释掉就好了,不知道为什么?

    2019-01-04 22:46:29

    共 1 条回复 >

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

    mybatis-generator:generate

SpringBoot构建电商基础秒杀项目

应用SpringBoot快速搭建拥有用户、商品、交易及秒杀活动的电商秒杀应用。

49020 学习 · 954 问题

查看课程

相似问题