reason:
Because I want to write the test method in the project to test whether the interface is correct, when I execute Tomcat7::run, I get this error, which makes me very puzzled
I Baidu a bit, all said to add a configuration to the pom file (specifically Baidu)
However, it didn't work until I translated this question, (personal English is not good, please explain)
Then I remembered that I just put the jar package in the pom file of the parent project and did not download it locally, so maven couldn't find the jar package
Solution:
So I reinstalled the parent project and the problem was solved