原因:
1、pom.xml中对应依赖的坐标不正确
<dependencies><!-- 检查这里的groupId/artifactId/version是否准确 --><dependency><groupId>com.example</groupId><artifactId>missing-lib</artifactId><version>1.0.0</version></dependency>
</dependencies>
2、本地仓库中该依赖的jar包损坏或缺失
解决办法:可以到阿里云的依赖仓库或者Maven的中央仓库里手动下载对应的jar包,然后放进自己的Maven仓库里,然后重新加载项目即可
阿里云仓库:https://developer.aliyun.com/mvn/view
中央仓库:https://mvnrepository.com/