自己使用的Spark和scala版本
修改pom.xml文件
问题:无法下载相关Spark和Scala依赖
Failed to execute goal on project sparksql-train: Could not resolve dependencies for project com.imooc.bigdata:sparksql-train:jar:1.0: The following artifacts could not be resolved: org.apache.spark:spark-sql_2.11:jar:3.0.1, org.apache.spark:spark-hive_2.11:jar:3.0.1, org.apache.spark:spark-hive-thriftserver_2.11:jar:3.0.1: Failure to find org.apache.spark:spark-sql_2.11:jar:3.0.1 in https://repository.cloudera.com/artifactory/cloudera-repos was cached in the local repository, resolution will not be reattempted until the update interval of cloudera has elapsed or updates are forced -> [Help 1]