Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jsf-2/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Jsf 2 xhtml更改不会使用Jrebel和JSF Mojarra 2.1.7反映出来_Jsf 2_Jrebel - Fatal编程技术网

Jsf 2 xhtml更改不会使用Jrebel和JSF Mojarra 2.1.7反映出来

Jsf 2 xhtml更改不会使用Jrebel和JSF Mojarra 2.1.7反映出来,jsf-2,jrebel,Jsf 2,Jrebel,Java更改会立即反映出来,但在页面刷新后不会显示xhtml页面上的更改 rebel.xml <classpath> <dir name="${rebel.workspace.path}Projects/test/target/classes"> </dir> </classpath> <web> <link target="\">

Java更改会立即反映出来,但在页面刷新后不会显示xhtml页面上的更改

rebel.xml

<classpath>
    <dir 
        name="${rebel.workspace.path}Projects/test/target/classes">
    </dir>                      
</classpath>
<web>
    <link target="\">
        <dir 
            name="${rebel.workspace.path}Projects/test/src/main/webapp" />
    </link>
</web>


确保您的目标属性与Web应用程序的上下文根匹配。并且您部署的webapp中存在rebel.xml。问题中没有足够的支持细节,无法给出任何其他建议。

刷新页面并不能解决问题。这很容易通过谷歌搜索得到。您需要对其进行配置,并准备好rebel.xml