Don't mix these versions.
Akka streams is part of Akka since 2.4.2, among others also for exactly
this reason.

Please use Akka streams 2.4.2 with akka 2.4.2.
Same with 2.4.3, etc. They move together now.

Happy talking!
On Apr 8, 2016 18:43, "James P" <jsp0...@gmail.com> wrote:

> Hi Folks,
>
> I'm trying out the tutorial on Akka Streams (Java) and the following line
> of code from the tutorial:
>
> final Source<Integer, NotUsed> source =
>    Source.from(Arrays.asList(1, 2, 3, 4, 5, 6, 7, 8, 9, 10));
>
>
> causes a compilation failure. It says that "NotUsed" should be a
> BoxedUnit.
>
> Not really a big problem, but from what I understand, BoxedUnit was
> replaced with NotUsed in akka 2.4.2.
>
> Anybody have an idea why this might be happening?
>
> Running: akka 2.4.3 and akka-streams 2.0.4.
> Tutorial from here:
> http://doc.akka.io/docs/akka/2.4.3/java/stream/stream-flows-and-basics.html
>
> Any help would be much appreciated. Thanks.
>
> Best regards,
> James
>
>
> --
> >>>>>>>>>> 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.
>

-- 
>>>>>>>>>>      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.

Reply via email to