检查IDEA JRebel 配置是否正确

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

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

下面是有问题的

 

下面的是正确的:

 

(2)检查rebel.xml

 改为:

<?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)

 

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

访问的时候,是否自动增量加载刚才修改的类

 

猜你喜欢

转载自hw1287789687.iteye.com/blog/2267408
今日推荐