Netbeans 8.2 + wildfly 11 hot deploy not working

假如想象 提交于 2021-01-28 00:48:05

问题


I am using Netbeans 8.2 for maven java web application. I am using Wildfly 11.0.0 application server for running the project.

When i change & save the .jsp file, the netbeans deploying and i can see the changes in the web page while refreshing.

But in case of java class, when i change & save the java class file, netbeans showing 'deploying...' on the status bar. But i can't see the changes in the web while refreshing.

In netbeans 'compile on save' & 'deploy on save' options are checked.

In standalone.xml

<subsystem xmlns="urn:jboss:domain:deployment-scanner:2.0">
            <deployment-scanner path="deployments" relative-to="jboss.server.base.dir" scan-interval="5000" runtime-failure-causes-rollback="${jboss.deployment.scanner.rollback.on.failure:false}"/>
        </subsystem>


<servlet-container name="default">
                <jsp-config development="true"/>
                <websockets/>
            </servlet-container>

In a single sentence 'jsp' hot deploying working. java not working

来源:https://stackoverflow.com/questions/55247123/netbeans-8-2-wildfly-11-hot-deploy-not-working

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!