1. Problem description
When using IDEA to develop a Maven project, in order to create a war package, I went to Baidu and added dependencies to the configuration file pom.xml. As a result, the configuration and packaging dependencies reported an error as follows. In fact, it does not affect the loading of maven and packaging, but it looks very uncomfortable. .
2. Problem cause & solution
Baidu searched and found that there is no version number configured, but when you configure a version number casually, you still find that an error is reported:
the core lies in thisThe version number should be the same as the previous spring-boot-starter-parent! ! !
After changing it, it was solved