Gatling java.lang.NoClassDefFoundError: io/gatling/charts/stats/LogFileReader


I am trying to setup Gatling to run in Intellij using a maven project.
While running the BasicSimulation provided by Gatling, I am getting the following error.

Gatling 3.3.1 version, Scala 2.12

java.lang.NoClassDefFoundError: io/gatling/charts/stats/LogFileReader

ClassNotFoundExceptino: io.gatling.charts.stats.LogFileReader

Even though the Scala script runs fine at the end of the script, I am getting this error.

Kindly help how to fix this issue. Please let me know if any additional information is required.


Missing charts module.
Check you have the gatling-charts module in your maven project’s classpath and that the jar in your local maven cache is not corrupted (can be unzipped).

Thank you, Stephane.
Yes, maven download was corrupted and was missing the charts jar. Somehow it is not getting downloaded so I manually downloaded the jar file and it fixed the issue.

thank you so much.