idea运行Spark程序报错Failed to locate the winutils binary in the hadoop binary path解决方案

idea运行Spark程序报错Failed to locate the winutils binary in the hadoop binary path解决方案
idea运行Spark程序报错Failed to locate the winutils binary in the hadoop binary path解决方案
网上很多要下载hadoop包然后配置环境变量,这样很麻烦,下面是一个简单的

一、 首先下载我准备的压缩包
链接:https://pan.baidu.com/s/1KYt9l88k22FZZlbIZnylXw
提取码:tajl
二、解压到随便你自己的硬盘上
idea运行Spark程序报错Failed to locate the winutils binary in the hadoop binary path解决方案

三、 配置环境变量
idea运行Spark程序报错Failed to locate the winutils binary in the hadoop binary path解决方案
idea运行Spark程序报错Failed to locate the winutils binary in the hadoop binary path解决方案

最后一步、
然后运行程序…完美解决

最最最后一步、
如果还是报错 那就重启一下电脑就ok了