Maven项目无法引入 Maven Dependencies Libraries 问题

昨天在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>

猜你喜欢

转载自qiaoyihang.iteye.com/blog/2312563