開発環境を構築している際に、ビルド時に下記のエラーが起こっています。
java
CoreException: ビルド・プランを計算できませんでした: Plugin org.apache.maven.plugins:maven-compiler-plugin:3.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.1: ArtifactResolutionException: Failure to transfer org.apache.maven.plugins:maven-compiler-plugin:pom:3.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. オリジナル・エラー: Could not transfer artifact org.apache.maven.plugins:maven-compiler-plugin:pom:3.1 from/to central (https://repo.maven.apache.org/maven2): PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target pom.xml /test 行 4 Maven プロジェクト・ビルド・ライフサイクル・マッピング問題 CoreException: ビルド・プランを計算できませんでした: Plugin org.apache.maven.plugins:maven-compiler-plugin:3.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.1: ArtifactResolutionException: Failure to transfer org.apache.maven.plugins:maven-compiler-plugin:pom:3.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. オリジナル・エラー: Could not transfer artifact org.apache.maven.plugins:maven-compiler-plugin:pom:3.1 from/to central (https://repo.maven.apache.org/maven2): PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target pom.xml /test 行 4 Maven プロジェクト・ビルド・ライフサイクル・マッピング問題 Failure to transfer org.apache.maven.plugins:maven-resources-plugin:pom:2.6 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.plugins:maven-resources-plugin:pom:2.6 from/to central (https://repo.maven.apache.org/maven2): PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target pom.xml /test 行 1 Maven 構成問題 ライフサイクル構成でカバーされていないプラグインの実行: org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (実行: default-compile, phase: compile) pom.xml /test 行 4 Maven プロジェクト・ビルド・ライフサイクル・マッピング問題 ライフサイクル構成でカバーされていないプラグインの実行: org.apache.maven.plugins:maven-compiler-plugin:3.1:testCompile (実行: default-testCompile, phase: test-compile) pom.xml /test 行 4 Maven プロジェクト・ビルド・ライフサイクル・マッピング問題
java
POM.xml <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>test</groupId> <artifactId>test</artifactId> <version>1.0-SNAPSHOT</version> <name>test</name> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties> </project>
試したこと
プロジェクトのリフレッシュ
プロジェクトタブ⇒クリーン
プロジェクト右クリック⇒実行⇒MavenClean
プロジェクト右クリック⇒Maven⇒プロジェクトの更新
Eclipse再起動
~/.m2/repository 配下のフォルダを全て削除し、
Mavenプロジェクト右クリック → Maven → プロジェクトの更新。
上記をすべてやってみましたが変わらずでした。。。
他にあるとすれば設定ファイルとかでしょうか
何か他に解決策があればご教授ください。
宜しくお願い致します。
まだ回答がついていません
会員登録して回答してみよう