2017-11-02 10 views
-1

私はSpring Bootの初心者です。私はsts-3.6.3SR1で作業しようとしています。私は、更新MavenプロジェクトをクリックしながらSpringBoot Mavenプロジェクトアップデートが動作しない

enter image description here

、それはエラーを示しています:pom.xmlファイルの添付ファイルをご覧ください

Failure to transfer org.apache.maven.plugins:maven-surefire-plugin:pom:2.18.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-surefire-plugin:pom:2.18.1 from/to central (https://repo.maven.apache.org/maven2): repo.maven.apache.org"

+0

Update Maven Projectのセクションでは、スナップショット/リリースの強制アップデートを試みましたが、動作しません。 –

答えて

0

うわー、私は開いているフォルダ「C: \ users \ kangkan pc.m2 \ repository \ org \ apache \ maven \ plugins \ maven-surefire-pl ugin \ 2.18.1」を開き、* .lastupdateファイルを削除して、再度Mavenプロジェクトを更新してみてください。大丈夫です。

関連する問題