Hi,

On Thu, Oct 2, 2014 at 3:37 PM, Qi Qi <[email protected]> wrote:

> I tried to replace scala actors by akka actors in this pacman game (
> https://github.com/lrytz/pacman) .
> That is required to compile DSL to command a pacman  in real time.
>

Your original error seems to be related to compilation (has the compiler
have the akka-actor classes available?), so you should ask this question on
the scala mailing list.


> I've made it around the issue by breaking out the original MVC design
> pattern in the pacman project, though it feels that the original design is
> more natural and the scala actor fits it well.
>

Please note though that scala actors are deprecated.

-Endre


> Thanks.
>
>
> On Thursday, October 2, 2014 6:14:08 PM UTC+8, Qi Qi wrote:
>>
>> I got the following error message, which I don't know what is going on.
>>
>> "scala.reflect.internal.Types$TypeError: bad symbolic reference. A
>> signature in MVC.class refers to term actor
>>
>> in value akka which is not available.
>>
>> It may be completely missing from the current classpath, or the version on
>>
>> the classpath might be incompatible with the version used when compiling
>> MVC.class."
>>
>>
>> some context:
>>
>>  The trigger line is "run.compileSources(List(file))", where the "run"
>> is a scala.tools.nsc.Global.Run instance. This statement is included in a
>> Thread run.
>>
>>  A controller actor(in another source file) who made the method call of a
>> class. The controller was originally implemented in Scala actor, and I
>> replaced it with an akka actor.
>>
>>  The version of scala compiler is 2.10.4, the same as the scala runtime
>> version.
>>
>>
>> Any suggestions?
>>
>>
>>
>>
>>
>>  --
> >>>>>>>>>> Read the docs: http://akka.io/docs/
> >>>>>>>>>> Check the FAQ:
> http://doc.akka.io/docs/akka/current/additional/faq.html
> >>>>>>>>>> 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/d/optout.
>



-- 
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://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      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/d/optout.

Reply via email to