I am assuming you are using Java API. The create() method was simply delegating to the factory apply() method, so you can just use: actor = system.actorOf(Props.apply(ActorHandler.class, actorPath), "actorHandler")
On Thu, Jan 30, 2014 at 6:25 AM, Kaizah Kaiser <[email protected]>wrote: > Hi, > > I am using Akka 2.2.3 in Java and am trying to make an actor that is an > extension of UntypedActor. I need to create the props for this actor and > give it to my actor creation but for some reason, it gives me the error > that Props does not have a method create (and all docs and examples do say > so). I am using Maven and have the following dependencies: > > <dependency> > <groupId>com.typesafe.akka</groupId> > <artifactId>akka-remote_2.10</artifactId> > <version>2.2.3</version> > </dependency> > <dependency> > <groupId>com.typesafe.akka</groupId> > <artifactId>akka-actor_2.10</artifactId> > <version>2.2.3</version> > </dependency> > > Attached you can see screenshots of what is happening, any clues? > > -- > >>>>>>>>>> Read the docs: http://akka.io/docs/ > >>>>>>>>>> Check the FAQ: http://akka.io/faq/ > >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user > --- > You received this message because you are subscribed to the Google Groups > "Akka User List" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/akka-user. > For more options, visit https://groups.google.com/groups/opt_out. > -- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>> Check the FAQ: http://akka.io/faq/ >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user --- You received this message because you are subscribed to the Google Groups "Akka User List" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/groups/opt_out.
