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.
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.
After completion, you will find that the error has disappeared.
Maven project guide package input resource coordinate error report
Guess you like
Origin blog.csdn.net/interestANd/article/details/112681705
Recommended
Ranking