# Gatling compatible version with scala 2.11.8 and sbt 1.0.4

**URL:** <https://community.gatling.io/t/gatling-compatible-version-with-scala-2-11-8-and-sbt-1-0-4/4276>\
**Category:** Gatling (Open-Source)\
**Created:** [April 13, 2018, 4:44am UTC](https://community.gatling.io/t/gatling-compatible-version-with-scala-2-11-8-and-sbt-1-0-4/4276 "2018-04-13T04:44:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kapil\_aggarwal](https://avatars.discourse-cdn.com/v4/letter/k/ba8739/32.png) [@kapil\_aggarwal](https://community.gatling.io/u/kapil_aggarwal)\
**Post date:** [April 13, 2018, 4:44am UTC](https://community.gatling.io/t/gatling-compatible-version-with-scala-2-11-8-and-sbt-1-0-4/4276/1 "2018-04-13T04:44:45Z")

</div>

Hello

Can someone please share if there is compatibility matrix for a version of Gatling & Gatling sbt plugin and scala versions.

I am trying to use the latest version of gatling with **scala 2.11.8** and **sbt 1.0.4** and getting below error.  
Also, upgrading scala and sbt to the latest version is not an option for me.

**Error:  
`**

 

[error] Uncaught exception when running tests: java.lang.NoSuchMethodError: scala.Predef$.refArrayOps([Ljava/lang/Object;)[Ljava/lang/Object;

 

[error] sbt.ForkMain$ForkError: java.lang.NoSuchMethodError: scala.Predef$.refArrayOps([Ljava/lang/Object;)[Ljava/lang/Object;

 

[error] at io.gatling.sbt.GatlingRunner.tasks(GatlingRunner.scala:30)

 

[error] at sbt.ForkMain$Run.runTests(ForkMain.java:253)

 

[error] at sbt.ForkMain$Run.run(ForkMain.java:139)

 

[error] at sbt.ForkMain$Run.access$100(ForkMain.java:135)

 

[error] at sbt.ForkMain.main(ForkMain.java:121)

 

[info] Simulation(s) execution ended.

 

[error] Error during tests:

 

[error] Forked test harness failed: java.io.EOFException

 

[error] at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2626)

 

[error] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1321)

 

[error] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:373)

 

[error] at sbt.React.react(ForkTests.scala:156)

 

[error] at sbt.ForkTests$Acceptor$2$.run(ForkTests.scala:96)

 

[error] at java.lang.Thread.run(Thread.java:745)

 

[error] (gatling:test) sbt.TestsFailedException: Tests unsuccessful

`

**Gatling SBT Plugin** : 2.2.2

**Gatling configuration** :

`

```auto
name := "SampleGatling"

version := "0.1"

scalaVersion := "2.11.8"

libraryDependencies ++= Seq("io.gatling.highcharts" % "gatling-charts-highcharts" % "2.3.1",
  "io.gatling" % "gatling-test-framework" % "2.3.0" % "test"
)

//addSbtPlugin("io.gatling" % "gatling-sbt" % "2.2.2")
enablePlugins(GatlingPlugin)

```

`

---

<div class="post-metadata">

**Author:** ![slandelle](https://dub1.discourse-cdn.com/flex013/user_avatar/community.gatling.io/slandelle/32/4_2.png) [@slandelle](https://community.gatling.io/u/slandelle)\
**Post date:** [April 13, 2018, 5:31am UTC](https://community.gatling.io/t/gatling-compatible-version-with-scala-2-11-8-and-sbt-1-0-4/4276/2 "2018-04-13T05:31:20Z")

</div>

Hi,

Gatling 2.1 and 2.2 requires Scala 2.11  
Gatling 2.3 requires Scala 2.12Gatling 3.0 will require Scala 2.12

> Also, upgrading scala and sbt to the latest version is not an option for me.

Then you have to stick with Gatling 2.2. We will never go with the burden of cross compiling and maintaining against legacy version of Scala.  
Scala 2.11 has reached end of life last November.  
Scala 2.12 was released 1 year and a half ago.
