Mavne dependency error

Step 1: Open

File (File) -> Settings (Settings) -> Build, Execution, Deployment (Build, Execution, Deployment) -> Build Tools (Build Tools) -> Maven Check the Maven configuration and local warehouse address for any errors


Step 2: In the Maven configuration interface, check to always update the snapshot (the effect after checking is that each time the dependency is imported, it will be searched from the local library, instead of looking in the maven cache in IDEA)

 

 This is my current solution to the error reporting of Maven dependencies. After all, I am also a novice, and there is still a lot to learn. So if there is a better solution, please leave a message.

Guess you like

Origin blog.csdn.net/m0_62404884/article/details/120847859