typedactor

Akka Actors fails, VerifyError: Inconsistent stackmap frames at branch target

谁说我不能喝 提交于 2020-01-03 18:15:07
问题 I have a Java application where I use Akka Typed Actors. The code has no errors in Eclipse, but when I start my application it crashes and prints this error: Exception in thread "main" java.lang.VerifyError: Inconsistent stackmap frames at branch target 266 in method com.example.actors.DBActor.getItems(Lorg/joda/time/DateTime;Lorg/joda/time/DateTime;)I at offset 170 at com.example.ui.Main$1.create(Main.java:31) at akka.actor.TypedActor$$anonfun$newInstance$3.apply(TypedActor.scala:677) at

How can I use a TypedActor in a Java application?

非 Y 不嫁゛ 提交于 2019-12-08 02:12:37
问题 I try to implement a TypedActor in Java following the examples on Typed Actors (Java). But I'm struggling. I have added akka-actor-1.1-M1.jar , akka-typed-actor-1.1-M1.jar , scala-library.jar but it wasn't enough. I got errors in Eclipse so I also added aspectwerkz-2.0.jar and aspectwerkz-core-2.0.jar to my Build Path. I try to use a TypedActor with custom constructor. But now I get an error at compilation: Exception in thread "main" java.lang.NoSuchMethodError: org.codehaus.aspectwerkz.proxy

How can I use a TypedActor in a Java application?

梦想的初衷 提交于 2019-12-06 08:43:11
I try to implement a TypedActor in Java following the examples on Typed Actors (Java) . But I'm struggling. I have added akka-actor-1.1-M1.jar , akka-typed-actor-1.1-M1.jar , scala-library.jar but it wasn't enough. I got errors in Eclipse so I also added aspectwerkz-2.0.jar and aspectwerkz-core-2.0.jar to my Build Path. I try to use a TypedActor with custom constructor. But now I get an error at compilation: Exception in thread "main" java.lang.NoSuchMethodError: org.codehaus.aspectwerkz.proxy.Proxy.newInstance([Ljava/lang/Class;[Ljava/lang/Object;ZZ)Ljava/lang/Object; at akka.actor.TypedActor