`

eclipse 设置tomcat 支持热部署

阅读更多

在eclipse  service 下找到server.xml

原:

<Context docBase="GQFP" path="/GQFP" reloadable="true" source="org.eclipse.jst.jee.server:GQFP"/></Host>

 修改为:

<Context docBase="GQFP" path="/GQFP" reloadable="false" crossContext="true" source="org.eclipse.jst.jee.server:GQFP"/></Host>

 把reloadable 修改为false,  增加crossContext="true"

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics