最近更新到jrebel6.2.1了,我本身作了個技術分享的微信公衆號(茶爸爸),有心的朋友能夠來這裏一塊兒學習java
雲盤下載連接:web
http://pan.baidu.com/s/1bnGzMUFspring
配置:bootstrap
-noverify
-javaagent:/Users/chababa/Desktop/dev/applications/jrebel_6.2.1-agent-crack/jrebel.jar
-Xbootclasspath/p:/var/folders/8y/s9s8bfjj0p9_t01p9w0kcwsm0000gp/T//rebelboot.jar
-Drebel.generate.show=true
-Drebel.spring_plugin=true
-Drebel.aspectj_plugin=true
-Drebel.cxf_plugin=true
-Drebel.logback_plugin=true
-Drebel.mybatis_plugin=truetomcat
======================================啓動提示配置成功============================================微信
2015-03-08 20:26:18 JRebel: mybatis
2015-03-08 20:26:18 JRebel: #############################################################mvc
2015-03-08 20:26:18 JRebel: app
2015-03-08 20:26:18 JRebel: JRebel Legacy Agent 6.0.0 (201410311556)eclipse
2015-03-08 20:26:18 JRebel: (c) Copyright ZeroTurnaround AS, Estonia, Tartu.
2015-03-08 20:26:18 JRebel:
2015-03-08 20:26:18 JRebel: Over the last 30 days JRebel prevented
2015-03-08 20:26:18 JRebel: at least 3 redeploys/restarts saving you about 0.1 hours.
2015-03-08 20:26:18 JRebel:
2015-03-08 20:26:18 JRebel: Over the last 63 days JRebel prevented
2015-03-08 20:26:18 JRebel: at least 4 redeploys/restarts saving you about 0.2 hours.
2015-03-08 20:26:18 JRebel:
2015-03-08 20:26:18 JRebel: Licensed to anonymous-user
2015-03-08 20:26:18 JRebel: with the following restrictions:
2015-03-08 20:26:18 JRebel: ####### Cracked by anonymous-user, For FUN! Unlimited! Enjoy! ######
2015-03-08 20:26:18 JRebel:
2015-03-08 20:26:18 JRebel: License type: perpetual
2015-03-08 20:26:18 JRebel:
2015-03-08 20:26:18 JRebel:
2015-03-08 20:26:18 JRebel: #############################################################
2015-03-08 20:26:18 JRebel:
*****************************
更改java文件後,jrebel編譯並自動加載到jvm
##################################################################################
2015-03-08 20:26:54 JRebel: Reloading class 'org.demo.DemoController'.
2015-03-08 20:26:54 JRebel-Spring: Reconfiguring bean 'demoController' [org.demo.DemoController]
2015-03-08 20:26:54,511 INFO [org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping] - Mapped "{[/test],methods=[],params=[],headers=[],consumes=[],produces=[],custom=[]}" onto public java.lang.String org.demo.DemoController.test()
2015-03-08 20:26:54,512 INFO [org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping] - Mapped "{[/test1],methods=[],params=[],headers=[],consumes=[],produces=[],custom=[]}" onto public java.lang.String org.demo.DemoController.test1()
上述參數的相關說明:
-agentpath: 這個是你使用的JRebel Agent版本的lib包的路徑(路徑後綴不要寫成jrebel.jar),注意其中的斜線方向。
-Drebel.dirs :這個是你要監控的項目的 class 文件路徑
-Drebel.disable_update: 設爲true,就不會聯網檢查更新
-DJAVA_OPTS: 這個選項不是必須,當內存溢出的時候或其它特殊狀況下才須要設置它的參數大小。