Error while spark execution

Hi,
I am still not able to execute the programs and attached the image above.
Let me know how it needs to be solved.

Thanks
Yashwanth