简体   繁体   English

AKKA-SCALA安装-错误

[英]AKKA - SCALA installation - Error

I downloaded typesafe activtor from the http://www.lightbend.com/community/core-tools/activator-and-sbt site. 我从http://www.lightbend.com/community/core-tools/activator-and-sbt网站下载了typesafe激活器。 Clicked 'Get Started with Activator' 单击“激活器入门”

A Zip file got download - Unzipped and Double clicked the activator.bat 下载了一个Zip文件-解压缩并双击activator.bat

Error - Windows Cannot Find C:Users\\at\\Downloads\\Typesafe-activator... Make sure you type the name correctly and try again' 错误-Windows无法找到C:Users \\ at \\ Downloads \\ Typesafe-activator ...请确保您正确输入名称,然后重试。

What am I doing wrong here ? 我在这里做错了什么? Kindly help 请帮助

My question draws little attention :) .. thats fine... 我的问题很少引起注意:) ..很好...

Here is the method I followed. 这是我遵循的方法。 Now its working 现在工作了

  1. Install Eclipse for Scala(with SCALA and JRE) 安装Eclipse for Scala(使用SCALA和JRE)
  2. Created new scala Project. 创建了新的scala项目。
  3. Extract the Akka Zip file - copy the folder location in clipboard 解压缩Akka Zip文件-在剪贴板中复制文件夹位置
  4. Goto Eclipse right click on Project name -> Properties -> Java Build Path -> libraries -> Add External JARs -> Paste the folder location --> Goto 'lib' -> select scala-library-2.11.jar . 转到Eclipse,右键单击项目名称->属性-> Java Build Path->库->添加外部JAR-> 粘贴文件夹位置 ->转到'lib'->选择scala-library-2.11.jar。 Click Open(This JAR file will be added) 单击打开(将添加此JAR文件)
  5. Again click on Add External JARs -> goto 'lib' --> Akka --> Select all the jars and -> Click OPEN. 再次单击Add External JARs-> goto'lib'-> Akka->选择所有jar,然后->单击OPEN。
  6. Now create a scala APP under Prject_name --> SRC folder 现在在Prject_name-> SRC文件夹下创建一个scala APP
  7. paste the sample code - I used the helloActor code from the below link 粘贴示例代码-我从下面的链接中使用了helloActor代码

http://alvinalexander.com/scala/simple-scala-akka-actor-examples-hello-world-actors . http://alvinalexander.com/scala/simple-scala-akka-actor-examples-hello-world-actors

  1. Right Click -> Run as -> Scala Application. 右键单击->运行方式-> Scala应用程序。

It Worked For Me. 它为我工作。 Hope It will work for you too.. (If you have same issue). 希望它也能为您服务。(如果您有同样的问题)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM