检查IDEA JRebel 配置是否正确

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

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

下面是有问题的
检查IDEA JRebel 配置是否正确_第1张图片
 

 

下面的是正确的:
检查IDEA JRebel 配置是否正确_第2张图片
 

 

 

(2)检查rebel.xml
检查IDEA JRebel 配置是否正确_第3张图片
 改为:

<?xml version="1.0" encoding="UTF-8"?>
<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">

	<classpath>
		<dir name="E:/work/project/chanjet_web_store/src/main/webapp/WEB-INF/classes">
		</dir>
	</classpath>

	<web>
		<link target="/">
			<dir name="E:/work/project/chanjet_web_store/src/main/webapp">
			</dir>
		</link>
	</web>
</application>

 

 (3)
检查IDEA JRebel 配置是否正确_第4张图片
 

 

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

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

 

 

你可能感兴趣的:(jrebel)