第一步安装jrebel插件,如下图
安装 JRebel Eclipse插件进入 Help » Install New Software... 并且输入下面的URL :
 http://www.zeroturnaround.com/update-site/,因为是在线安装,所以需要较长时间,请一定耐心等待。
      Eclipse 安装jrebel插件,实现tomcat热部署
     
第二步:在projects选中要交给jrebel管理的项目,如下图
点击help-->Jrebel configuration
Eclipse 安装jrebel插件,实现tomcat热部署

第三步:选择JRebel agent的jrebel.jar包,如下图
Eclipse 安装jrebel插件,实现tomcat热部署


这个jrebel.jar可在网上自行下载

第四步:

需要设置调试可以进入 Window » Preferences 然后到 Java » Debug » Step Filtering.

选中 Use Step FiltersFilter synthetic methods及Step through filters. 现在选中所有的默认filters,然后点击Add      Filter按钮,添加com.zeroturnaround.* 和 org.zeroturnaround.*.

Eclipse 安装jrebel插件,实现tomcat热部署


进入 Project » Build Automatically 确认以被选中.


Eclipse 安装jrebel插件,实现tomcat热部署


第五步:Eclipse Tomcat设置

Tomcat server配置中的不需要自动发布. 双击服务器名称打开服务器配置页面选中Never publish automatically 和(Enable     JRebel agent) .

Eclipse 安装jrebel插件,实现tomcat热部署


到这里就大功告成了,不同版本的eclipse配置稍有不同,如果你没配置成功,有问题,请留言。


相关文章:

  • 2022-01-23
  • 2021-12-05
  • 2021-05-25
  • 2022-01-05
  • 2022-12-23
  • 2021-08-27
  • 2021-07-14
猜你喜欢
  • 2021-07-03
  • 2021-04-13
  • 2021-11-15
  • 2021-09-04
  • 2021-12-21
  • 2021-10-15
相关资源
相似解决方案