天天看点

使用jrebel遇到的问题

使用jrebel遇到的问题

解决方法

1,修改src\main\resources\rebel.xml

原来的:

使用jrebel遇到的问题

修改之后的:

使用jrebel遇到的问题

<?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="d:/software/eclipse/workspace2/tv_mobile/target/classes">  

        </dir>  

    </classpath>  

    <web>  

        <link target="/">  

            <dir name="d:/software/eclipse/workspace2/tv_mobile/target/m2e-wtp/web-resources">  

                <exclude name="/"/>  

            </dir>  

        </link>  

            <dir name="d:/software/eclipse/workspace2/tv_mobile/src/main/webapp">  

    </web>  

</application>  

继续阅读