Hi,
I would like to try Gatling and started with maven plugin in Intellij IDEA (gatling/gatling-maven-plugin-demo: Showcase of the Gatling Plugin for Maven (github.com)). When I run Engine class, there are lots of errors like this one:
scalac: error while loading package, class file ‘<current_user>.m2\repository\io\gatling\gatling-app\3.5.1\gatling-app-3.5.1.jar(io/gatling/app/package.class)’ is broken
(class java.lang.RuntimeException/error reading Scala signature of package.class: Scala signature package has wrong version
expected: 5.0
found: 5.2 in package.class)
As far as I understand it means that the gatling classes were compiled with higher version of scala compiler (5.2) than current scalac expects.
I use latest gatling (3.5.1) and Scala SDK 2.12.12. There was no previous installation of Scala SDK (it’s my first experience with Scala at all).
What could be a reason for these errors?
Thanks!
Best regards,
Aleksey.