myeclipse maven项目没有maven depencies,找到项目下.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>
参考:http://blog.sina.com.cn/s/blog_4a5dbd380101f2o9.html,谢谢