1.如果新建maven 项目确省maven dependencies,则在存在问题工程的.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.MAVEN项目报错:Project configuration is not up-to-date with pom.xml. Run Maven->Update Project

一般是pom.xml被修改了,但是工程还没有同步过来导致的,按照提示说的,在工程上右击执行“Maven->Update Project“项进行同步更新下配置就正常了。

 

相关文章:

  • 2021-09-08
  • 2021-05-08
  • 2021-11-08
  • 2021-08-16
  • 2021-05-10
  • 2021-06-26
  • 2021-05-04
猜你喜欢
  • 2021-09-03
  • 2021-12-30
  • 2021-10-19
  • 2021-10-29
  • 2022-01-26
  • 2021-04-26
  • 2021-10-19
相关资源
相似解决方案