# Alpakka 1.1.2 got version conflict with akka-actor 2.6.1

**URL:** <https://discuss.akka.io/t/alpakka-1-1-2-got-version-conflict-with-akka-actor-2-6-1/5760>\
**Category:** Akka Streams & Alpakka\
**Tags:** streams\
**Created:** [January 17, 2020, 3:31pm UTC](https://discuss.akka.io/t/alpakka-1-1-2-got-version-conflict-with-akka-actor-2-6-1/5760 "2020-01-17T15:31:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![iLoveZod13](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.akka.io/ilovezod13/32/1733_2.png) [@iLoveZod13](https://discuss.akka.io/u/iLoveZod13)\
**Post date:** [January 17, 2020, 3:31pm UTC](https://discuss.akka.io/t/alpakka-1-1-2-got-version-conflict-with-akka-actor-2-6-1/5760/1 "2020-01-17T15:31:48Z")

</div>

Hi there,

I am using akka-actor-typed 2.6.1. Since akka-camel has been removed from 2.6, I tried to use akka-stream-alpakka-xml 1.1.2 as a replacement to process xml source.

But since akka-alpakka 1.1.2 is based on Akka Streams 2.5.23, I got runtime error as below:

```auto
Exception in thread "main" java.lang.IllegalStateException: Detected possible 
incompatible versions on the classpath. Please note that a given Akka version 
MUST be the same across all modules of Akka that you are using, e.g. if you 
use [2.6.1] all other modules that are released together MUST be of the same 
version. Make sure you're using a compatible set of libraries. Possibly 
conflicting versions [2.6.1, 2.5.23] in libraries [akka-actor:2.6.1, akka-
slf4j:2.6.1, akka-stream:2.5.23, akka-protobuf:2.5.23, akka-actor-typed:2.6.1]

```

How should I use akka-stream-alpakka with akka-stream 2.6.1?

I also noticed a solution by " dependencyOverrides ":  
[https://www.scala-sbt.org/release/docs/Library-Management.html?\_ga=2.7467058.1093767181.1579273281-1459313816.1579075376#Overriding+a+version](https://www.scala-sbt.org/release/docs/Library-Management.html?_ga=2.7467058.1093767181.1579273281-1459313816.1579075376#Overriding+a+version)

Will it work?

Thanks

---

<div class="post-metadata">

**Author:** ![ennru](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.akka.io/ennru/32/1495_2.png) [@ennru](https://discuss.akka.io/u/ennru)\
**Post date:** [January 17, 2020, 3:53pm UTC](https://discuss.akka.io/t/alpakka-1-1-2-got-version-conflict-with-akka-actor-2-6-1/5760/2 "2020-01-17T15:53:25Z")

</div>

Hi there,

Please add the Akka dependencies pulled in by Alpakka XML (akka-stream and akka-protobuf) to your build explicitly with the Akka version you use.

Cheers,  
Enno.

---

<div class="post-metadata">

**Author:** ![iLoveZod13](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.akka.io/ilovezod13/32/1733_2.png) [@iLoveZod13](https://discuss.akka.io/u/iLoveZod13)\
**Post date:** [January 17, 2020, 6:00pm UTC](https://discuss.akka.io/t/alpakka-1-1-2-got-version-conflict-with-akka-actor-2-6-1/5760/3 "2020-01-17T18:00:13Z")

</div>

Hi Enno,

Thanks a lot. It did work!
