Я использую Maven Projecton VM.Vm не может подключиться к центральному репозиторию, поэтому он не загружает зависимости в папке .m2.
pom.xml показывает ошибку как:
CoreException: Could not calculate build plan: Plugin org.apache.maven.plugins:maven-compiler-plugin:3.5.1 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-compiler-plugin:jar:3.5.1: ArtifactResolutionException: Failure to transfer org.apache.maven.plugins:maven-compiler-plugin:pom: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-compiler-plugin:pom:3.5.1 from/to central (https://repo.maven.apache.org/maven2): Failed to connect to repo.maven.apache.org
Я вручную загрузилjar и поместил их в папку .m2, но все еще эта ошибка сохраняется в pom.xml.
Как это можно решить, я попытался выполнить проект обновления Run> maven build & Maven>, но не повезло