问题简述:

pom.xml配置文件里面声明了plugin,但是install后没有看到,报错

问题还原:

一开始使用idea的mybatis-generator插件逆向生成时报错:No plugin found for prefix ‘mybatis-generator’ in the current


然后看网上教程先clean再install,接着报错:The packaging for this project did not assign a file to the build artifact

解决方案:

如果你的plugins声明和我一样:
The packaging for this project did not assign a file to the build artifact,No plugin found for prefi
是在红色圈出来的标签里的话,那么只需要在
The packaging for this project did not assign a file to the build artifact,No plugin found for prefi
这个标签外声明就好了,记得将之前声明的删了,然后clean再install就可以用了
The packaging for this project did not assign a file to the build artifact,No plugin found for prefi



具体原因多谢这位老哥的帖子

相关文章: