利用mybatis-generator自动生成代码,发生:Plugin execution not covered by lifecycle configuration后解决方案

1,报错信息

Plugin execution not covered by lifecycle configuration: org.mybatis.generator:mybatis-generator-maven-plugin:1.3.2:generate (execution: Generate MyBatis Artifacts, phase: generate-sources)

2,解决方案

在POM配置文件的plugins标签上包装pluginManagement标签即可

posted @ 2018-04-11 17:00  valuestack  阅读(783)  评论(0)    收藏  举报