導(dǎo)入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文件。