Error starting ApplicationContext. To display the conditions report re run

When we create a springboot project, it pom.xml This place in is like this: as shown in the figure


If there is no comment point in the red box, an error will be reported as soon as the project is run, as shown in the following picture:

There is also a warning as shown in the figure below:

After some time, baidu also did not find a similar error situation, do not know how to solve.

Only will pom.xml Note out this in, as shown in the figure below:

Then click Import changes. After compiling, it will run normally.

Read More: