Scala Akka Alignment

51 views
Skip to first unread message

Joseph Mansigian

unread,
Sep 20, 2016, 5:28:30 PM9/20/16
to Akka User List
I am trying to use scala 2.11.8 and akka 2.4.9 for remoting.  Not sure if these versions are compatible.  I noticed that there is an akka jar with scala which is confusing to me since I already hava akka jars on the classpath.  When I run code  I am getting:

  java.lang.NoSuchMethodError: akka.util.Helpers$.toRootLowerCase(Ljava/lang/String;)Ljava/lang/String;

Have the jar with some version of akka.util.Helpers$ on the classpath but apparently this version does not have the method cited in the error message.  Anyone recognize what is happening?  Source, classpath, directory structure, stacktrace, etc available on demand.   Thank you for helping.

Konrad Malawski

unread,
Sep 20, 2016, 7:20:00 PM9/20/16
to akka...@googlegroups.com, Joseph Mansigian
You can see which version of Scala an Akka artifact is released for by looking at the artifact names:

So as you see, it's released for 2.11.

That you're talking about jar files makes me thing you're mixing different akka versions... That's not supported, make sure it's all the same version of Akka.

-- 
Konrad `ktoso` Malawski
Akka @ Lightbend
--
>>>>>>>>>> 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+...@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.

Endre Varga

unread,
Sep 21, 2016, 3:30:54 AM9/21/16
to akka...@googlegroups.com, Joseph Mansigian
Also, why not the latest version 2.4.10?

On Wed, Sep 21, 2016 at 1:19 AM, Konrad Malawski <konrad....@lightbend.com> wrote:
You can see which version of Scala an Akka artifact is released for by looking at the artifact names:

So as you see, it's released for 2.11.

That you're talking about jar files makes me thing you're mixing different akka versions... That's not supported, make sure it's all the same version of Akka.

-- 
Konrad `ktoso` Malawski
Akka @ Lightbend

On 20 September 2016 at 14:28:32, Joseph Mansigian (joseph.c....@gmail.com) wrote:

I am trying to use scala 2.11.8 and akka 2.4.9 for remoting.  Not sure if these versions are compatible.  I noticed that there is an akka jar with scala which is confusing to me since I already hava akka jars on the classpath.  When I run code  I am getting:

  java.lang.NoSuchMethodError: akka.util.Helpers$.toRootLowerCase(Ljava/lang/String;)Ljava/lang/String;

Have the jar with some version of akka.util.Helpers$ on the classpath but apparently this version does not have the method cited in the error message.  Anyone recognize what is happening?  Source, classpath, directory structure, stacktrace, etc available on demand.   Thank you for helping.

--
>>>>>>>>>> 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+unsubscribe@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.

--
>>>>>>>>>> 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+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages