在Eclipse IDE中从SPARK SCALA MAVEN项目创建JAR时出错

在Eclipse IDE中从SPARK SCALA MAVEN项目创建JAR时出错,eclipse,scala,maven,apache-spark,Eclipse,Scala,Maven,Apache Spark,我为Spark Scala创建了一个maven项目,并编写了一些代码。我必须将其绑定为JAR文件,并从边缘节点(shell环境)运行它。但我面临以下错误。请告知 [错误]无法执行目标org.scala工具:maven scala插件:2.11:编译(默认)在XYZ项目上:目标org.scala工具的执行默认值:maven scala plugin:2.11:编译失败:plugin org.scala工具:maven scala plugin:2.11或其一个依赖项无法解析:未能在org.scal

我为Spark Scala创建了一个maven项目,并编写了一些代码。我必须将其绑定为JAR文件,并从边缘节点(shell环境)运行它。但我面临以下错误。请告知


[错误]无法执行目标org.scala工具:maven scala插件:2.11:编译(默认)在XYZ项目上:目标org.scala工具的执行默认值:maven scala plugin:2.11:编译失败:plugin org.scala工具:maven scala plugin:2.11或其一个依赖项无法解析:未能在org.scala工具:maven scala plugin:jar:2.11->org.apache.maven收集依赖项。报告:maven reporting impl:jar:2.0.4:未能读取org.apache.maven.reporting的工件描述符:maven reporting impl:jar:2.0.4:无法将工件org.apache.maven.reporting:maven reporting impl:pom:2.0.4从/传输到maven cto dev():sun.security.validator.ValidatorException:PKIX路径生成失败:sun.security.provider.certpath.SunCertPathBuilderException:找不到请求目标的有效证书路径->[Help 1]

在C驱动器中的eclipse.ini文件上提供证书路径