热部署:
在 resin.xml 文件下 增加
<host id="" root-directory=".">
<!-- webapps can be overridden/extended in the resin.xml-->
<web-app id="/" root-directory="webapps/ROOT"/>
<web-app id="/ewt-picture" root-directory="D:\workspace\ewt-picture\src\main\webapp">
<class-loader>
<compiling-loader path="D:\workspace\ewt-picture\target\classess"/>
<library-loader path="D:\workspace\ewt-picture\target\ewt-picture\WEB-INF\lib"/>
</class-loader>
</web-app>
</host>