昨天在check下來maven項目之后一些配置好了,就是下載不是maven 依賴庫,后面再網上找到如下解決方案。
在.classpath文件中加入如下代碼就好了.
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
<attributes>
<attribute name="maven.pomderived" value="true"/>
<attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
</attributes>
</classpathentry>
