Eclipse中安裝jRebel熱部署教程(帶破解jRebel外掛和破解jar包)
1、首先下載本教程附件jRebel壓縮包;
2、開啟Eclipse(3.6版本+),然後選擇安裝新軟體:
3、選擇Add,然後出現name可以隨意填,後面的Location,選擇我附件中的解壓後的jrebel.zip包,然後一路點選next完成後重啟即可,這裡有個注意事項,就是下載的路徑和壓縮包最好是英文名,截圖中命名為錯誤示範,不要模仿:
4、破解:將附件中解壓後的jrebel.jar和jrebel.lic放入:
%eclipse_path%(這裡是你的eclipse的路徑)\plugins\org.zeroturnaround.eclipse.embedder_6.3.3.RELEASE\jrebel下面,如圖:
5、重新啟動eclipse即可看到註冊資訊表示破解成功:
6、最主要的是配置,這裡坑了我兩天時間,網上的很多教程都是坑人的,我填了很多坑,靠自己摸索出來的:
6.1 publishing:
將Automatically pulish when resources change勾選
6.2 Jrebel Integretion:
將Enable jRebel agent勾選
6.3 Server options:
去掉 Moudle auto reload by default
6.4 General Infomation - open launch configuration - arguments中新增:
-Xms512m -Xmx1024m
-XX:MaxNewSize=1024m
-XX:MaxPermSize=2048m
-noverify
-Drebel.spring_plugin=true
-Drebel.aspectj_plugin=true
-Drebel.struts2_plugin=true
-Drebel.hibernate_plugin=true
-Drebel.hibernate_validator_plugin=true
6.5 去掉Auto reload
雙擊tomcat配置,點選Moudles模式,將專案的Auto reload夠選擇 Disable