Maven导入项目后没有Maven Dependencies目录

3.jpg

微信公众号:爱问CTO
专业编程问答社区
www.askcto.com

在工作空间目录找到你项目下的.classpath文件

<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">  
    <attributes>  
        <attribute name="maven.pomderived" value="true"/>  
    </attributes>  
</classpathentry>

添加上述信息,然后在Eclipse中刷新项目。

评论

暂无评论