SBT Resolving Conflicting cross-version Errors

Recently while setting up Gatling with Spray using SBT, I started getting conflicting cross-version suffixes errors.

Here is what my SBT looked like

On running update, I got the following error

Screen Shot 2014-11-06 at 7.39.53 am

If you notice this is because my SBT has been configured for Akka for Scala version 2.11 and Gatling is trying to get Akka for 2.10. The fix for this is to add exclude Akka to the gatling library dependency.


This fixed the issue and Spray with Gatling was good to go.

Screen Shot 2014-11-06 at 7.51.21 am

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">