参考: http://www.redredred.com.au/m2eclipse-and-wtp/
eclipse工程(with maven & wtp)在部署的时候, 所有通过maven配置的jar都没有复制过去, 需要在 .classpath文件中添加<attributes/>部分
<classpathentry exported="true" kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER">
<attributes>
<attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib" />
</attributes>
</classpathentry>

本文解决在使用Eclipse工程(withMaven&wtp)进行部署时,所有通过Maven配置的jar包未正确复制到目标路径的问题,通过在.classpath文件中添加特定的<attributes/>部分来实现正确部署。

被折叠的 条评论
为什么被折叠?



