天天看點

使用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>  

繼續閱讀