我使用SBT来设置Akka持久化,但是它失败了,错误是:
Detected java.lang.NoSuchMethodError error, which MAY be caused by incompatible Akka versions on the classpath. Please note that a given Akka version MUST be the same across all modules of Akka that you are using, e.g. if you use akka-actor [2.5.6 (resolved from curr
我试图在F#中使用远程发送一条消息,但是我一直遇到这样的问题:没有发送带有类型的消息。当我使用以下代码时:
Server.fsx
#r "nuget: Akka.FSharp"
#r "nuget: Akka.TestKit"
#r "nuget: Akka.Remote"
open System
open Akka.FSharp
open Akka.Remote
open Akka.Configuration
let configuration =
ConfigurationFactory.ParseString(
我在玩Akka遥控器。一个使用Akka 2.5.23的简单示例运行良好。如果我在真正的开发项目中添加功能,我会遇到一个非常奇怪的问题: Uncaught error from thread [RemoteSystem-akka.remote.default-remote-dispatcher-6]: Receiver class akka.remote.RemoteActorRefProvider does not define or inherit an implementation of the resolved method abstract serializationInformat
我试图将接收到的http请求的内容发送到akka节点来处理。我尝试了以下内容类型,akka正确地接收了消息。然而,当我发送AnyContentAsMultipartFormData时,akka不会接受它。
我想知道为什么。
下面是由play framework收到的http请求日志:
2015-08-29 15:05:08.952 [INFO] [application] in application-akka.actor.default-dispatcher-5
body is AnyContentAsFormUrlEncoded(Map(test -> ArrayBuffer(te
我正在尝试在Eclipse中创建一个新的Akka项目。我遵循了的步骤
但是我收到关于找不到Akka依赖项的错误。
会很感谢你的帮助。这是输出。
C:\Users\*\workspace\akka-project-in-scala>sbt
[info] Loading global plugins from C:\Users\*\.sbt\plugins
[info] Loading project definition from C:\Users\*\workspace\akka-project-in-scala\project
[info] Set current project to
嗨,我遵循这个,我复制粘贴了代码,只是我把端口从5150更改为2552,我面临着HelloLocal项目错误。
[warn] there were 1 deprecation warning(s); re-run with -deprecation for details
[warn] one warning found
[info] Running HelloLocal
[INFO] [11/04/2014 22:37:50.707] [run-main-0] [Remoting] Starting remoting
[INFO] [11/04/2014 22:37:51.857] [r
我在我的项目中使用akka 2.4-M2。我想把我的项目部署到码头。但是,当我使用boot2docker测试这两个节点时,会出现一个问题。我的节点无法连接到种子节点。
build.sbt中的配置如下:
lazy val `topGatewayFrontend` = (project in file("topGatewayFrontend"))
.enablePlugins(PlayScala)
.enablePlugins(DockerPlugin)
.settings(
name := "topGatewayFrontend",
l
嗨,我是akka的新手,我试着开发样例akka应用程序,但是当我在shell上执行运行命令时,它会给我未解决的依赖项警告,然后显示错误。
这是我的Main.scala文件
import akka.actor.Actor
import akka.actor.ActorSystem
import akka.actor.Props
class HelloActor extends Actor {
def receive = {
case "hello" => println("hello back at you")
case _
我有一个由15个节点/框组成的集群。我大致同时启动节点。其中一个节点的行为古怪且不断地记录“忽略接收到的为他人准备的流言”。但是,在从集群中删除之前,节点似乎工作了一段时间。基本上,这一个节点似乎认为它是其他人,同时也作为自己的行为。代码和配置在所有15个节点上完全相同,所以我不明白为什么只在一个节点上出现这个问题。也许这是硬件问题?
一些伐木:
11:27:45.412 INFO [main] Remoting - Starting remoting
11:27:45.638 INFO [main] Remoting - Remoting started; listening on ad
我从Akka 2.2.3迁移到2.3.0-RC4,并在应用程序启动时收到了以下错误消息:
error while starting up loggers
akka.ConfigurationException: Logger specified in config can't be loaded
[akka.event.slf4j.Slf4jEventHandler] due to
[java.lang.ClassNotFoundException: akka.event.slf4j.Slf4jEventHandler]
我有以下SBT依赖关系:
val akkaVersion =