Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

not found: object akka?

Tags:

scala

akka

actor

I am new to Scala. I have downloaded the Scala Eclipse IDE, and started to write a new program using akka and actors, and I am trying to import akka as follows,

import akka.actor._

but am getting the errors as follows, Multiple markers at this line - not found: object akka - object actor is not a member of package akka

I want to know why I am getting this error, do I need to add any other packages ?

like image 991
user2917559 Avatar asked Mar 19 '23 13:03

user2917559


1 Answers

You need to add a dependency to the akka-actor jar. "Getting started" section of the Akka documentation http://doc.akka.io/docs/akka/snapshot/intro/getting-started.html has more information on which jars to add.

like image 73
Ravi Kiran Avatar answered Mar 28 '23 16:03

Ravi Kiran