Error executing Spark - Ex 8

Moderator: Concepts and Technologies for DS and BDP

pa13kare
Neuling
Neuling
Beiträge: 3
Registriert: 7. Jun 2016 18:44

Error executing Spark - Ex 8

Beitrag von pa13kare »

Dear Sir,

I have installed Scala in Eclipse and maven as well. Then I imported sol 8, but when I run it gives below error. I have tried several solutions from internet without luck. Could you please help?
"Error: Could not find or load main class ApproximatePi"


Thanks.
Regards
Parvez

Benutzeravatar
AizazZaidee
BASIC-Programmierer
BASIC-Programmierer
Beiträge: 106
Registriert: 20. Apr 2016 22:49

Re: Error executing Spark - Ex 8

Beitrag von AizazZaidee »

Your classpath is not set that's why it cannot find your main class, you can define new Eclipse run configurations. Read here more about your solution http://docs.oracle.com/javase/7/docs/te ... spath.html

Thanks,
AZ

Antworten

Zurück zu „Archiv“