Description Resource Path Location Type Project configuration is not up-to-date with pom.xml. Select: Maven->Update Project... from the project context menu or use Quick Fix. spark-MT line 1 Maven Co

时间:2021-05-27 21:35:38

1、相信大家新建的maven项目,然后添加好依赖(即修改了pom.xml文件以后就会出现如下所示的错误):

Description    Resource    Path    Location    Type
Project configuration is not up-to-date with pom.xml. Select: Maven->Update Project... from the project context menu or use Quick Fix. spark-MT line Maven Configuration Problem

截图如下所示:

Description	Resource	Path	Location	Type Project configuration is not up-to-date with pom.xml. Select: Maven->Update Project... from the project context menu or use Quick Fix.	spark-MT		line 1	Maven Co

大致意思呢,读读英语还是挺有意思的,错误提示说,项目的配置没有及时更新with 这个pom.xml文件,所以更新一下配置文件即可。操作如下所示:

即鼠标右击错误,然后点击弹出的Quick Fix,由于需要等待一会,所以稍等片刻即可。

Description	Resource	Path	Location	Type Project configuration is not up-to-date with pom.xml. Select: Maven->Update Project... from the project context menu or use Quick Fix.	spark-MT		line 1	Maven Co

然后我的出现如下所示的错误:

Description    Resource    Path    Location    Type
Java compiler level does not match the version of the installed Java project facet. spark-MT Unknown Faceted Project Problem (Java Version Mismatch)

这个错误是由于pom.xml写的jdk的版本和我的window的环境的不一致,修改一直以后还要进行上面的Quick Fix操作。

Description	Resource	Path	Location	Type Project configuration is not up-to-date with pom.xml. Select: Maven->Update Project... from the project context menu or use Quick Fix.	spark-MT		line 1	Maven Co