您的位置:首页 > 移动开发

idea 出现Could not autowire. No beans of 'xxxxMapper' type found. 安装 Mybatis Plugin 插件

2017-09-12 00:16 1096 查看
idea 出现Could not autowire. No beans of 'xxxxMapper' type found. less... (Ctrl+F1) Checks autowiring

是因为idea使用mybatis是要使用   Mybatis Plugin 插件这个是idea的通病吧,就知道没有完美的IDE 


是要安装插件。收费了,

don't worry; 细心看下去 ,我花了好几 个小时,你可别   


耐心看下去哦,


(1).安装官方版mybatis plus插件,然后关闭IDEA   (百度)


(2).在C:\Windows\System32\drivers\etc目录下 的hosts 添加  



 127.0.0.1 www.codesmagic.com




(3). 记事本打开C:\Users\{USER}\.IntelliJIdea{VERSION}\config\options\mybatis.xml,






[b](4).[/b]

将 KEY 和 RESULT 对应的值填入, 保存 

KEY:

305c300d06092a864886f70d0101010500034b
003048024100878e6bea07d7052499419efe4ed4382f426dc5ca2d01140f896a6d0566526c6757ff591347d888bd032f94ce92609ce0cc349de0ba9043dc3163f9667438a14d0203010001

RESULT:

414834456369b9329793f0b42c6c0af67d00516c7ceb136ad221fa0355dc2cd611ed1bcd36b61d00ba7e587d253c1de145831cd0d65b891c9dc34430f9e69c59


打开idea,mybatis插件已经激活






M-wise
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐