当前位置:
代码迷
>>
J2EE
>> Maven打包war包中有好多重复的jar
详细解决方案
Maven打包war包中有好多重复的jar
热度:
62
发布时间:
2016-04-17 23:26:08.0
Maven打包war包中有许多重复的jar
我用maven管理一个web项目,因为之前用struts2.1.8,后来用struts2.3.x,做过jar包版本升级,最后打包发布的时候,war包中既有升级前的jar,也有升级后的jar,怎么解决呢,我打包前clean也不管用,
------解决思路----------------------
这个只能通过在pom.xml中用exclude来排除jar包
相关解决方案
Maven 项目的dependency拷贝不出来解决办法
maven 构建web项目时war姓名由什么决定
web项目调度(maven+ice)
[Maven + Gem]替大型企业打造自动化测试工具
eclipse +maven+web运用 +tomcat 找不到jar包
maven 导出工程委以的jar文件
maven install复制非class资料pom配置
maven web项目索引说明
maven jar跟web工程创建命令
【maven web】工程引述jar包深度复制到WEB-INF/LIB目录配置
maven 适用
eclipse 中创办 maven web项目
maven 项目 上关于 tomcat的热部署【转载】
maven-antrun-plugin中没法调用 jsch shell target
maven-创办Web项目并导入到Eclipse中
maven scope的功用
maven web项目在tomcat上部署
maven install 把jar包放到WEB-INFO下头
hudson+maven+tomcat自动公布
intellij maven *hbm.xml
maven 编译有关问题
maven+jetty,揭示 Transaction manager not found
maven 依赖有关问题 ${spring.version}是怎么使用的
Maven 创办多模块项目,如果共享resources
maven war依赖的有关问题
maven 管理项目,如何从一个子系统中引用另外一个子系统的类
maven web项目报错,该怎么解决
maven 施用项目中web-inf/lib 中的jar包
maven 新手遇到怪有关问题,们请进来看看
svn 下载一个maven 项目 为什么先 run as maven clean 然后maven install