Springboot project using eclipse to build the first line of the file pom.xml error (Maven Configuration Problem)

Today on https://start.spring.io/ to build a 2.1.5 version of springboot project, but after it imported, pom.xml first line of the error, see the following error Problems found

After Baidu discovery methods varied, but later found the cause should be springboot with your maven version does not match
Solution:
Method One (pro-test is useful):
                     . ① will reduce the version number of springboot, <version> 2.1.5.RELEASE </ version> read <version> 2.1.1.RELEASE </ version>
                     ② Right-click the project, maven-> UpdateProject.
method II (have not tried, guess):
                     If you must use the newer version, I think update your maven might also solve this problem, but too much trouble, I did not test

Guess you like

Origin www.cnblogs.com/coder-wf/p/12218836.html