Could not transfer artifact org.slf4j:slf4j-api:pom:1.7.28 from/to central

导入日志依赖时遇到问题

Could not transfer artifact org.slf4j:slf4j-api:pom:1.7.28 from/to central
Could not transfer artifact org.slf4j:slf4j-api:pom:1.7.28 from/to central
原因:
Could not transfer artifact org.slf4j:slf4j-api:pom:1.7.28 from/to central
解决方案:
找到本地maven仓库中对应的文件
Could not transfer artifact org.slf4j:slf4j-api:pom:1.7.28 from/to central
将其删除后,再次运行程序,然后maven就可以正常的从私有仓库下载了。