Re: [akka-user][deprecated] I get a NoSuchMethodError when trying to run the project from the Akka docs - Getting Started Tutorial (Scala): First Chapter

2018-08-17 Thread Jacqueline Hubbard
Hi Patrik

That worked, thank you very much!! :)

Regards
Jackie

On Thu, Aug 16, 2018 at 8:43 PM, Patrik Nordwall 
wrote:

> Try a newer version of Akka. Here is the starting point:
> https://akka.io/try-akka/
>
> Cheers,
> Patrik
>
> On Thu, Aug 16, 2018 at 9:36 PM Jackie88 
> wrote:
>
>> 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(Ljava/lang/String;)Lscala/
>> collection/immutable/StringOps;
>> java.lang.NoSuchMethodError: scala.Predef$.augmentString(
>> Ljava/lang/String;)Lscala/collection/immutable/StringOps;
>> at akka.util.Duration$.(Duration.scala:76)
>> at akka.util.Duration$.(Duration.scala)
>> at akka.actor.ActorSystem$Settings.(ActorSystem.scala:120)
>> at akka.actor.ActorSystemImpl.(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
>> ---
>> 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+unsubscr...@googlegroups.com.
>> To post to this group, send email to akka-user@googlegroups.com.
>> Visit this group at https://groups.google.com/group/akka-user.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
> --
>
> Patrik Nordwall
> Akka Tech Lead
> Lightbend  -  Reactive apps on the JVM
> Twitter: @patriknw
>
> --
> 
> *
> ** 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
> ---
> 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+unsubscr...@googlegroups.com.
> To post to this group, send email to akka-user@googlegroups.com.
> Visit this group at https://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
*
** 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: 

Re: [akka-user][deprecated] I get a NoSuchMethodError when trying to run the project from the Akka docs - Getting Started Tutorial (Scala): First Chapter

2018-08-16 Thread Patrik Nordwall
Try a newer version of Akka. Here is the starting point:
https://akka.io/try-akka/

Cheers,
Patrik

On Thu, Aug 16, 2018 at 9:36 PM Jackie88 
wrote:

> 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$.(Duration.scala:76)
> at akka.util.Duration$.(Duration.scala)
> at akka.actor.ActorSystem$Settings.(ActorSystem.scala:120)
> at akka.actor.ActorSystemImpl.(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
> ---
> 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+unsubscr...@googlegroups.com.
> To post to this group, send email to akka-user@googlegroups.com.
> Visit this group at https://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>


-- 

Patrik Nordwall
Akka Tech Lead
Lightbend  -  Reactive apps on the JVM
Twitter: @patriknw

-- 
*
** 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
--- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.


[akka-user][deprecated] I get a NoSuchMethodError when trying to run the project from the Akka docs - Getting Started Tutorial (Scala): First Chapter

2018-08-16 Thread Jackie88
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$.(Duration.scala:76)
at akka.util.Duration$.(Duration.scala)
at akka.actor.ActorSystem$Settings.(ActorSystem.scala:120)
at akka.actor.ActorSystemImpl.(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
--- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.