搜尋此網誌

2015年8月31日 星期一

JBoss 7.1.1 JSP自動更新

參考:https://developer.jboss.org/message/723945#723945#723945

This 7.1.1 specific bug (https://issues.jboss.org/browse/AS7-4187) could be resolved with the following steps easily.

1. Please make sure to add
            <configuration>
                <jsp-configuration development="true"/>
            </configuration>
    in standalone.xml under <subsystem xmlns="urn:jboss:domain:web:1.1" default-virtual-server="default-host" native="false">          

2. Go to jboss-as-7.1.1.Final/modules/org/jboss/as/web/main
   Place the jboss-as-web-7.1.1.Final-RECOMPILE.jar in there. You can download from http://www.datafilehost.com/download-2cb9ff04.html

3. Open module.xml (jboss-as-7.1.1.Final/modules/org/jboss/as/web/main) and add the following line
        <!--resource-root path="jboss-as-web-7.1.1.Final.jar"/-->
        <resource-root path="jboss-as-web-7.1.1.Final-RECOMPILE.jar"/>

4. You are done. Enjoy.

沒有留言:

張貼留言