前提・実現したいこと
javaのフレームワークを使おうと思い「SpringToolSuite4」をインストールしてサイトで順調に進めていたのですが、「新規springスタータープロジェクト」を作成した途端
1行目のと
5行目のにエラーが表示されました。
知っている方がおられたら教えて頂けませんでしょうか。
発生している問題・エラーメッセージ
1行目 Failure to transfer org.apache.maven.shared:maven-shared-io:pom:3.0.0 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. オリジナル・エラー: Could not transfer artifact org.apache.maven.shared:maven-shared-io:pom:3.0.0 from/to central (https:// repo.maven.apache.org/maven2): 操作はキャンセルされました。 5行目 Execution default-resources of goal org.apache.maven.plugins:maven-resources-plugin:3.1.0:resources failed: Plugin org.apache.maven.plugins:maven-resources-plugin:3.1.0 or one of its dependencies could not be resolved: Failed to collect dependencies at org.apache.maven.plugins:maven-resources-plugin:jar:3.1.0 -> org.apache.maven.shared:maven-filtering:jar:3.1.1 -> org.apache.maven.shared:maven-shared-utils:jar:3.0.0 (org.apache.maven.plugins:maven-resources-plugin:3.1.0:resources:default-resources:process-resources) org.apache.maven.plugin.PluginExecutionException: Execution default-resources of goal org.apache.maven.plugins:maven-resources-plugin:3.1.0:resources failed: Plugin org.apache.maven.plugins:maven-resources-plugin:3.1.0 or one of its dependencies could not be resolved: Failed to collect dependencies at org.apache.maven.plugins:maven-resources- plugin:jar:3.1.0 -> org.apache.maven.shared:maven-filtering:jar:3.1.1 -> org.apache.maven.shared:maven-shared-utils:jar:3.0.0 at ~中略~ org.eclipse.aether.internal.impl.collect.DefaultDependencyCollector.getArtifactDescriptorResult(DefaultDependencyCollector.java:515) at org.eclipse.aether.internal.impl.collect.DefaultDependencyCollector.processDependency(DefaultDependencyCollector.java:403) at org.eclipse.aether.internal.impl.collect.DefaultDependencyCollector.processDependency(DefaultDependencyCollector.java:356) at org.eclipse.aether.internal.impl.collect.DefaultDependencyCollector.process(DefaultDependencyCollector.java:344) at org.eclipse.aether.internal.impl.collect.DefaultDependencyCollector.doRecurse(DefaultDependencyCollector.java:498) at org.eclipse.aether.internal.impl.collect.DefaultDependencyCollector.processDependency(DefaultDependencyCollector.java:451) at org.eclipse.aether.internal.impl.collect.DefaultDependencyCollector.processDependency(DefaultDependencyCollector.java:356) at org.eclipse.aether.internal.impl.collect.DefaultDependencyCollector.process(DefaultDependencyCollector.java:344) at org.eclipse.aether.internal.impl.collect.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:247) ... 42 more Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Failure to transfer org.apache.maven.shared:maven-shared-utils:pom:3.0.0 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.shared:maven- shared-utils:pom:3.0.0 from/to central (https://repo.maven.apache.org/maven2): The operation was cancelled. at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:423) at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:225) at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:202) at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:240) ... 53 more Caused by: org.eclipse.aether.transfer.ArtifactTransferException: Failure to transfer org.apache.maven.shared:maven-shared-utils:pom:3.0.0 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.shared:maven- shared-utils:pom:3.0.0 from/to central (https://repo.maven.apache.org/maven2): The operation was cancelled. at org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.newException(DefaultUpdateCheckManager.java:226) at org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.checkArtifact(DefaultUpdateCheckManager.java:192) at org.eclipse.aether.internal.impl.DefaultArtifactResolver.gatherDownloads(DefaultArtifactResolver.java:564) at org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:482) at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:400) ... 56 more
該当のソースコード
xml
11行目 <?xml version="1.0" encoding="UTF-8"?> 2 35行目 <parent>
試したこと
mavenのローカルリポジトリを削除して再ダウンロードとか書いてあったんですけどそこに行き着く事ができなかったです。。。
補足情報(FW/ツールのバージョンなど)
mac
使用したパッケージは
Lombok、 Spring Boot Dev Tools、 Spring Web です!!