Problem Description
This is an error when building a springboot project through maven. Sometimes the xml reports a little red × and it’s nothing, but this time it’s different.
The following is a screenshot of the error report
After guiding the dependencies, I found that there are no maven dependencies, let alone running, it is purely a pom dependency error.
The screenshot below is what it looks like after debugging.
Resolution process
First of all, this part of my dependency is copied from other places. Many online sayings say that the dependency version should be replaced, and the change will be fine. Actually, it is not. I don’t believe in this evil. It is also an empty project. Why other versions That's fine, and finally found the result, which is caused by the space in the middle of the copied dependency. Especially the pdf file copying dependency can cause this problem most.
Then change the dependency again. Here is a website for you to find dependent files. All versions are available.
Link: maven depends on the website .
to sum up
I hope that through my own personal experiments, I can help you solve the problem. If it helps you, please give me a thumbs up, hee hee