为了账号安全,请及时绑定邮箱和手机立即绑定

自动生成报错

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://img1.sycdn.imooc.com//5c2649ae0001b3ba07220644.jpg

https://img1.sycdn.imooc.com//5c2649ae000138e309990356.jpg

https://img1.sycdn.imooc.com//5c2649af0001b9b711990438.jpg


正在回答

2 回答

https://img1.sycdn.imooc.com//5c273a0b0001243314320284.jpg

这个地方出错可能是因为
https://img1.sycdn.imooc.com//5c273b580001903712740865.jpg




0 回复 有任何疑惑可以回复我~
#1

多云转晴2 提问者

本来就是冒号,我已解决;将pom.xml中的<phase></phase>注释掉就好了,不知道为什么?
2019-01-04 回复 有任何疑惑可以回复我~

mybatis-generator:generate

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消
SpringBoot构建电商基础秒杀项目
  • 参与学习       49020    人
  • 解答问题       954    个

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

进入课程

自动生成报错

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信