Intellij MyBatisPlus Plugin插件破解

1. 下载原始的MyBatisPlus Plugin插件。
2. 下载替换包,请根据实际版本下载: https://github.com/myoss/profile/tree/master/idea/plugin/MybatisPlugin
3. 参考文档进行使用,文档 “Mybatis-Plugin插件学习使用方法”进行使用,分为Windows和Mac不一样的系统。
 Code 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
针对于windows系统中
一、下载v2. 51~v2.53中的class文件
二、进入到本地Idea插件配置目录
C:\Users\你的帐户目录\.IntelliJIdea15\config\plugins\mybatis_plus\lib
三、用WinRAR打开mybatis_plus.jar
四、根据class文件的路径将mybatis_plus.jar中的class替换掉
五、重启Idea,完毕。
windows测试经过的环境:
windows  8. 1 & windows  7, IntelliJ Idea  15. 0. 1
对于mac os中(linux系统中应该相似,我没有验证,若是有兄弟验证过还请告诉我,感谢),对于mac os目录不一致的问题,还得感谢 @xinshitn 同窗的提问,今晚上折腾了几个小时把虚拟环境弄好,找到了他PC机上出现问题的缘由,欢迎你们提问题。
一、使用find命令在你的用户目录下查找mybatis_plus.jar这个文件(前提你没有更改过IntelliJ Idea的配置目录,若是更改了从根目录下查找吧,花费的时间可能会多点)
JerryMac:~ jerry-osx-m$ find ~ -name  "mybatis_plus.jar"
/Users/jerry-osx-m/Library/Application Support/IntelliJIdea15/mybatis_plus/ lib/mybatis_plus.jar
二、你找到了mybatis_plus.jar这个文件的位置以后,将对应版本中的com目录拷贝到mybatis_plus.jar同级目录,输入命令将com目录压缩进mybatis_plus.jar中。
jar uvf mybatis_plus.jar com
三、重启Idea,完毕。
mac os测试经过的环境:
OS X Yosemite  10. 10, IntelliJ Idea  15. 0. 1
若是你按以上操做完成以后,功能上可使用,可是会出现如下提示信息:
Mybatis Plugin  is  not activated yet. Click here  to enter your license key  to activate the plugin. You can also click here  to purchase a license key  to sponsor us making the plugin better. More features are  on their way. Wish you happy coding  with the plugin 请使用文件夹“替换以后若是还有提示,请替换这个文件夹的内容”中的内容替换,目前只有 @xinshitn 同窗反映他在mac os下出现此问题,故单独放在文件夹,若是广泛出现此状况,还烦请同窗们给我反映
相关文章
相关标签/搜索