欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

IDEA中mybatis安装mybatis plugin后其他工程mapper命名飘红 mybatis插件mapper命名飘红

程序员文章站 2022-05-09 22:33:39
...

开发工具 IDEA

 

某个SSM工程在mybatis plugin插件安装后

 

其他工程mapper命名,飘红

 

原因:

 

        安装了插件的命名与生成的的文件命名十分匹配,其他工程则因为不匹配导致xml映射解析不到

so要么generator与plugin连用。

 

要么就别用,要么所有工程都用,命名飘红严重不舒服!!!
<!--5f39ae17-8c62-4a45-bc43-b32064c9388a:W3siYmxvY2tUeXBlIjoicGFyYWdyYXBoIiwic3R5bGVzIjp7ImFsaWduIjoibGVmdCIsImluZGVudCI6MCwidGV4dC1pbmRlbnQiOjAsImxpbmUtaGVpZ2h0IjoxLjc1fSwiYmxvY2tJZCI6IjYyODMtMTUyMTUxNzU4ODczOSIsInJpY2hUZXh0Ijp7ImlzUmljaFRleHQiOnRydWUsImtlZXBMaW5lQnJlYWsiOnRydWUsImRhdGEiOlt7ImNoYXIiOiJtIn0seyJjaGFyIjoieSJ9LHsiY2hhciI6ImIifSx7ImNoYXIiOiJhIn0seyJjaGFyIjoidCJ9LHsiY2hhciI6ImkifSx7ImNoYXIiOiJzIn0seyJjaGFyIjoiICJ9LHsiY2hhciI6InAifSx7ImNoYXIiOiJsIn0seyJjaGFyIjoidSJ9LHsiY2hhciI6ImcifSx7ImNoYXIiOiJpIn0seyJjaGFyIjoibiJ9LHsiY2hhciI6IuaPkiJ9LHsiY2hhciI6IuS7tiJ9LHsiY2hhciI6IuWuiSJ9LHsiY2hhciI6IuijhSJ9LHsiY2hhciI6IuWQjiJ9LHsiY2hhciI6Iu+8jCJ9LHsiY2hhciI6IuS8miJ9LHsiY2hhciI6IuW9sSJ9LHsiY2hhciI6IuWTjSJ9LHsiY2hhciI6IuiHqiJ9LHsiY2hhciI6IuW3sSJ9LHsiY2hhciI6IueahCJ9LHsiY2hhciI6Im0ifSx7ImNoYXIiOiJ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