标签:resin maven
1. 在resin.conf中找到
<!-- includes the app-default fordefault web-app behavior -->
<resin:importpath="${resin.home}/conf/app-default.xml"/>
替换成:
<!-- includes the app-default fordefault web-app behavior -->
<resin:import path="${resin.home}/conf/app-mvn.xml"/>
2. 复制app-default.xml到app-mvn.xml, 打开app-mvn.xml找到
<class-loader>
<compiling-loader path="WEB-INF/classes"/>
<library-loaderpath="WEB-INF/lib"/>
</class-loader>
替换成:
<class-loader>
<compiling-loader path="../../../target/classes"/>
<library-loaderpath="../../../target/webapi/WEB-INF/lib"/>
</class-loader>
3.修改resin.conf中的根路径配置,使用maven的webapp目录
<web-app id="/"root-directory="Xxx/trunk/src/main/webapp"/>
配置resin支持maven项目,布布扣,bubuko.com
标签:resin maven
原文地址:http://blog.csdn.net/bbirdsky/article/details/36378135