maven lastupdate error


导入maven项目后遇到如下错误

Failure to transfer org.apache.maven.plugins:maven-site-plugin:jar:3.5.1 from https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.apache.maven.plugins:maven-site-plugin:jar:3.5.1 from/to central (https://repo.maven.apache.org/maven2): connect timed out

这个的解决方案是到本地的repository下面删掉所有的lastupdate文件。

maven lastupdate error_第1张图片
Paste_Image.png

你可能感兴趣的:(maven lastupdate error)