maven项目中找不到Maven Dependencies解决办法

1、打开.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>

 2、选中项目 --> 右键 --> Configure --> Convert to Maven project.

 3、 选中项目-->右键-->Properties-->Deployment Assembly --> Add --> Java Build  Path Entries 下即可找到 Maven Dependencies 

转载自:https://blog.csdn.net/linbren/article/details/69371868

猜你喜欢

转载自blog.csdn.net/li1325169021/article/details/80492688