检查IDEA JRebel 配置是否正确

如何判断IDEA JRebel是否配置正确呢?

(1)启动JRebel 时,查看控制台输出

下面是有问题的
检查IDEA JRebel 配置是否正确
 

 

下面的是正确的:
检查IDEA JRebel 配置是否正确
 

 

 

(2)检查rebel.xml
检查IDEA JRebel 配置是否正确
 改为:

Xml代码  检查IDEA JRebel 配置是否正确
  1. <?xml version="1.0" encoding="UTF-8"?>  
  2. <application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.zeroturnaround.com" xsi:schemaLocation="http://www.zeroturnaround.com http://www.zeroturnaround.com/alderaan/rebel-2_0.xsd">  
  3.   
  4.     <classpath>  
  5.         <dir name="E:/work/project/chanjet_web_store/src/main/webapp/WEB-INF/classes">  
  6.         </dir>  
  7.     </classpath>  
  8.   
  9.     <web>  
  10.         <link target="/">  
  11.             <dir name="E:/work/project/chanjet_web_store/src/main/webapp">  
  12.             </dir>  
  13.         </link>  
  14.     </web>  
  15. </application>  

 

 (3)
检查IDEA JRebel 配置是否正确
 

 

 (4)修改Java 代码,不重启

访问的时候,是否自动增量加载刚才修改的类
检查IDEA JRebel 配置是否正确