Jackie88
2018-08-16 18:10:18 UTC
Hi there
I am trying to run this project:
https://doc.akka.io/docs/akka/2.0/intro/getting-started-first-scala.html
I am using Windows and sbt.
I get a NoSuchMethodError :
[info] Running Pi
*[error] (run-main-0) java.lang.NoSuchMethodError*:
scala.Predef$.augmentString(Lj
ava/lang/String;)Lscala/collection/immutable/StringOps;
java.lang.NoSuchMethodError:
scala.Predef$.augmentString(Ljava/lang/String;)Lsca
la/collection/immutable/StringOps;
at akka.util.Duration$.<init>(Duration.scala:76)
at akka.util.Duration$.<clinit>(Duration.scala)
at akka.actor.ActorSystem$Settings.<init>(ActorSystem.scala:120)
at akka.actor.ActorSystemImpl.<init>(ActorSystem.scala:424)
at akka.actor.ActorSystem$.apply(ActorSystem.scala:103)
at akka.actor.ActorSystem$.apply(ActorSystem.scala:89)
at Pi$.calculate(Pi.scala:16)
at Pi$delayedInit$body.apply(Pi.scala:10)
at scala.Function0$class.apply$mcV$sp(Function0.scala:40)
at
scala.runtime.AbstractFunction0.apply$mcV$sp(AbstractFunction0.scala:
12)
at scala.App$$anonfun$main$1.apply(App.scala:71)
at scala.App$$anonfun$main$1.apply(App.scala:71)
at scala.collection.immutable.List.foreach(List.scala:318)
at
scala.collection.generic.TraversableForwarder$class.foreach(Traversab
leForwarder.scala:32)
at scala.App$class.main(App.scala:71)
at Pi$.main(Pi.scala:8)
at Pi.main(Pi.scala)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
Has anyone managed to run this project?
Thanks
Jackie
--
*****************************************************************************************************
** New discussion forum: https://discuss.akka.io/ replacing akka-user google-group soon.
** This group will soon be put into read-only mode, and replaced by discuss.akka.io
** More details: https://akka.io/blog/news/2018/03/13/discuss.akka.io-announced
*****************************************************************************************************
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 akka-user+***@googlegroups.com.
To post to this group, send email to akka-***@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.
I am trying to run this project:
https://doc.akka.io/docs/akka/2.0/intro/getting-started-first-scala.html
I am using Windows and sbt.
I get a NoSuchMethodError :
[info] Running Pi
*[error] (run-main-0) java.lang.NoSuchMethodError*:
scala.Predef$.augmentString(Lj
ava/lang/String;)Lscala/collection/immutable/StringOps;
java.lang.NoSuchMethodError:
scala.Predef$.augmentString(Ljava/lang/String;)Lsca
la/collection/immutable/StringOps;
at akka.util.Duration$.<init>(Duration.scala:76)
at akka.util.Duration$.<clinit>(Duration.scala)
at akka.actor.ActorSystem$Settings.<init>(ActorSystem.scala:120)
at akka.actor.ActorSystemImpl.<init>(ActorSystem.scala:424)
at akka.actor.ActorSystem$.apply(ActorSystem.scala:103)
at akka.actor.ActorSystem$.apply(ActorSystem.scala:89)
at Pi$.calculate(Pi.scala:16)
at Pi$delayedInit$body.apply(Pi.scala:10)
at scala.Function0$class.apply$mcV$sp(Function0.scala:40)
at
scala.runtime.AbstractFunction0.apply$mcV$sp(AbstractFunction0.scala:
12)
at scala.App$$anonfun$main$1.apply(App.scala:71)
at scala.App$$anonfun$main$1.apply(App.scala:71)
at scala.collection.immutable.List.foreach(List.scala:318)
at
scala.collection.generic.TraversableForwarder$class.foreach(Traversab
leForwarder.scala:32)
at scala.App$class.main(App.scala:71)
at Pi$.main(Pi.scala:8)
at Pi.main(Pi.scala)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
Has anyone managed to run this project?
Thanks
Jackie
--
*****************************************************************************************************
** New discussion forum: https://discuss.akka.io/ replacing akka-user google-group soon.
** This group will soon be put into read-only mode, and replaced by discuss.akka.io
** More details: https://akka.io/blog/news/2018/03/13/discuss.akka.io-announced
*****************************************************************************************************
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
---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 akka-user+***@googlegroups.com.
To post to this group, send email to akka-***@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.