myeclipse maven项目没有maven depencies

来源:互联网 发布:培训班 知乎 编辑:程序博客网 时间:2024/05/23 02:11

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,谢谢





原创粉丝点击