Hi Meena, those red squigglies are very probably the result of an Eclipse bug, I bet that everything compiles fine when actually building the project (as opposed to the presentation compiler you get while typing). No other dependencies are needed and the method is definitely there.
You seem to be using an older version, maybe it has been fixed in Kepler? Regards, Roland 28 feb 2014 kl. 00:13 skrev MV <[email protected]>: > Hi Endre, > > Thank you very much for getting back to me. That was my puzzle too. All the > online docs say that I can create a TypedActor by just doing that: > TypedActor.get()…… > > But for some reason Eclipse shows a red squiggly as compile Time Error. The > static method get() is not even available for auto completion. > My guess this is some kind of dependency issue and not sure what other > dependencies I should be listing in pom.xml > > As mentioned in my first post, the only entry in my pom.xml is for the > akka_actor-2.3 > > Thanks > MV > > On Monday, February 24, 2014 5:41:28 AM UTC-5, Akka Team wrote: > Hi, > > > On Sat, Feb 22, 2014 at 3:11 PM, MV <[email protected]> wrote: > Hello, > > I am trying to use TypedActor in my Java code. I am developing in Java 1.6 > using Eclipse Indigo IDE. > I also use a pom.xml to download the required files for AKKA actor from a mvm > repository. > > My issue is that eclipse is not recognizing (compiler error - red squiggles) > a simple TypedActor.get(system) syntax. > It says TypedActor.TypedActor.get() is not found. If I wait for > autocompletion, the only option I get on TypedActor is TypedActor.class. > > Why TypedActor.TypedActor.get()? get() is a static method on TypedActor, see > here: > http://doc.akka.io/japi/akka/2.3.0-RC4/akka/actor/TypedActor.html#get(akka.actor.ActorContext) > > -Endre > > > Right now my pom only references akka-actor_2.3. The MVN central repository > does not have typed-actor pom or jars. I have searched in this location. > http://search.maven.org/ > > Any help on how to get TypedActor working will be really appreciated. I have > tried all the options in the documentation and I cannot even get past the > TypedActor.get() code. > > Thanks in advance. > MV > > -- > >>>>>>>>>> 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. > > > > -- > Akka Team > Typesafe - The software stack for applications that scale > Blog: letitcrash.com > Twitter: @akkateam > > -- > >>>>>>>>>> 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. Dr. Roland Kuhn Akka Tech Lead Typesafe – Reactive apps on the JVM. twitter: @rolandkuhn -- >>>>>>>>>> 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.
