首先肯定要确定当前该dependency在其目录下是有相应的jar、pom之类 的,目录就是:mavenRepository/groupId/artifactId/version/... 右键项目,maven,reImport. 报错消失。