Akka官网demo启动报错,解决办法将jdk升级为jdk-8u181!!!

Exception in thread "main" java.lang.VerifyError: Uninitialized object exists on backward branch 209
Exception Details:
  Location:
    scala/collection/immutable/HashMap$HashTrieMap.split()Lscala/collection/immutable/Seq; @249: goto
  Reason:
    Error exists in the bytecode
  Bytecode:
    0x0000000: 2ab6 0060 04a0 001e b200 b8b2 00bd 04bd
    0x0000010: 0002 5903 2a53 c000 bfb6 00c3 b600 c7c0
    0x0000020: 00c9 b02a b600 36b8 0040 3c1b 04a4 015e
    0x0000030: 1b05 6c3d 2a1b 056c 2ab6 0036 b700 cb3e
    0x0000040: 2ab6 0036 021d 787e 3604 2ab6 0036 0210
    0x0000050: 201d 647c 7e36 05bb 0019 59b2 00bd 2ab6
    0x0000060: 0038 c000 bfb6 00cf b700 d21c b600 d63a
    0x0000070: 0619 06c6 001a 1906 b600 dac0 0086 3a07
    0x0000080: 1906 b600 ddc0 0086 3a08 a700 0dbb 00df
    0x0000090: 5919 06b7 00e2 bf19 073a 0919 083a 0abb
    0x00000a0: 0002 5915 0419 09bb 0019 59b2 00bd 1909
    0x00000b0: c000 bfb6 00cf b700 d203 b800 e83a 0e3a
    0x00000c0: 0d03 190d b900 ec01 0019 0e3a 1136 1036
    0x00000d0: 0f15 0f15 109f 0027 150f 0460 1510 190d
    0x00000e0: 150f b900 ef02 00c0 0005 3a17 1911 1917
    0x00000f0: b800 f33a 1136 1036 0fa7 ffd8 1911 b800
    0x0000100: f7b7 0065 3a0b bb00 0259 1505 190a bb00
    0x0000110: 1959 b200 bd19 0ac0 00bf b600 cfb7 00d2
    0x0000120: 03b8 00e8 3a13 3a12 0319 12b9 00ec 0100
    0x0000130: 1913 3a16 3615 3614 1514 1515 9f00 2715
    0x0000140: 1404 6015 1519 1215 14b9 00ef 0200 c000
    0x0000150: 053a 1819 1619 18b8 00fa 3a16 3615 3614
    0x0000160: a7ff d819 16b8 00f7 b700 653a 0cb2 00ff
    0x0000170: b200 bd05 bd00 0259 0319 0b53 5904 190c
    0x0000180: 53c0 00bf b600 c3b6 0102 b02a b600 3803
    0x0000190: 32b6 0104 b0                           
  Stackmap Table:
    same_frame(@35)
    full_frame(@141,{Object[#2],Integer,Integer,Integer,Integer,Integer,Object[#114]},{})
    append_frame(@151,Object[#134],Object[#134])
    full_frame(@209,{Object[#2],Integer,Integer,Integer,Integer,Integer,Object[#114],Object[#134],Object[#134],Object[#134],Object[#134],Top,Top,Object[#25],Object[#60],Integer,Integer,Object[#112]},{Uninitialized[#159],Uninitialized[#159],Integer,Object[#134]})
    full_frame(@252,{Object[#2],Integer,Integer,Integer,Integer,Integer,Object[#114],Object[#134],Object[#134],Object[#134],Object[#134],Top,Top,Object[#25],Object[#60],Integer,Integer,Object[#112]},{Uninitialized[#159],Uninitialized[#159],Integer,Object[#134]})
    full_frame(@312,{Object[#2],Integer,Integer,Integer,Integer,Integer,Object[#114],Object[#134],Object[#134],Object[#134],Object[#134],Object[#2],Top,Object[#25],Object[#60],Integer,Integer,Object[#112],Object[#25],Object[#60],Integer,Integer,Object[#112]},{Uninitialized[#262],Uninitialized[#262],Integer,Object[#134]})
    full_frame(@355,{Object[#2],Integer,Integer,Integer,Integer,Integer,Object[#114],Object[#134],Object[#134],Object[#134],Object[#134],Object[#2],Top,Object[#25],Object[#60],Integer,Integer,Object[#112],Object[#25],Object[#60],Integer,Integer,Object[#112]},{Uninitialized[#262],Uninitialized[#262],Integer,Object[#134]})
    full_frame(@395,{Object[#2],Integer},{})

    at scala.collection.immutable.HashMap$.scala$collection$immutable$HashMap$$makeHashTrieMap(HashMap.scala:182)
    at scala.collection.immutable.HashMap$HashMap1.updated0(HashMap.scala:217)
    at scala.collection.immutable.HashMap.updated(HashMap.scala:59)
    at scala.collection.immutable.Map$Map4.updated(Map.scala:224)
    at scala.collection.immutable.Map$Map4.$plus(Map.scala:225)
    at scala.collection.immutable.Map$Map4.$plus(Map.scala:197)
    at scala.collection.mutable.MapBuilder.$plus$eq(MapBuilder.scala:29)
    at scala.collection.mutable.MapBuilder.$plus$eq(MapBuilder.scala:25)
    at scala.collection.TraversableOnce.$anonfun$toMap$1(TraversableOnce.scala:317)
    at scala.collection.TraversableOnce$$Lambda$8/718231523.apply(Unknown Source)
    at scala.collection.immutable.List.foreach(List.scala:389)
    at scala.collection.TraversableOnce.toMap(TraversableOnce.scala:316)
    at scala.collection.TraversableOnce.toMap$(TraversableOnce.scala:314)
    at scala.collection.AbstractTraversable.toMap(Traversable.scala:104)
    at scala.concurrent.duration.Duration$.<init>(Duration.scala:88)
    at scala.concurrent.duration.Duration$.<clinit>(Duration.scala)
    at akka.util.Helpers$ConfigOps$.getDuration$extension(Helpers.scala:138)
    at akka.util.Helpers$ConfigOps$.getMillisDuration$extension(Helpers.scala:133)
    at akka.actor.ActorSystem$Settings.<init>(ActorSystem.scala:329)
    at akka.actor.ActorSystemImpl.<init>(ActorSystem.scala:667)
    at akka.actor.ActorSystem$.apply(ActorSystem.scala:246)
    at akka.actor.ActorSystem$.apply(ActorSystem.scala:289)
    at akka.actor.ActorSystem$.apply(ActorSystem.scala:234)
    at akka.actor.ActorSystem$.create(ActorSystem.scala:169)
    at akka.actor.ActorSystem.create(ActorSystem.scala)
    at com.lightbend.akka.sample.AkkaQuickstart.main(AkkaQuickstart.java:13)
 

解决办法:将jdk进行升级jdk-8u181

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值