<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"> tomcat
<attributes> eclipse
<attribute name="maven.pomderived" value="true"/> maven
<attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/> spa
</attributes> component
</classpathentry> ip
其實這個節點通常都是有的,可是必定要確認有沒有這個屬性<attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>。class
而後在eclipse的項目上refresh一下maven項目,不refresh一下eclipse裏的工程是沒有效果的。而後再在這個項目對應的tomcat上郵件點擊」clean「。而後去自動發佈的路徑上,就會發現,全部maven依賴的jar包都出來了。
cli