Maven project guide package input resource coordinate error report

When using maven to guide the package, when the resource does not exist in the local warehouse, Intellij IDEA will also display red, and the following error will be reported in the Problem window.
Dependency'org.springframework:spring-jdbc:5.0.5.RELEASE' not found In
this case, when we have a network connection, we can solve it by downloading the resource package from the central warehouse.
Download resources
When the internet speed is fast, the download will be completed soon.
Sometimes there will be another situation. The resource package has been downloaded in the local warehouse, but the same error is reported, and it does not work to delete the resource package and download it again. At this time, you only need to refresh the project.
Insert picture description here
After completion, you will find that the error has disappeared.

Guess you like

Origin blog.csdn.net/interestANd/article/details/112681705