gatling-maven-plugin-demo java.lang.ClassNotFoundException io.gatling.charts.component.impl.ComponentLibraryImpl

Hi, All,

Please, help with gatling setup on maven.

Scenario:

  1. Clone https://github.com/gatling/gatling-maven-plugin-demo
  2. run: mvn gatling:execute
  3. Expected: success and reports generated
  4. Actual: fails with java.lang.ClassNotFoundException io.gatling.charts.component.impl.ComponentLibraryImpl

I did try gatling-highcharts-maven-archetype, created a project, set goal for gatling as described: http://gatling.io/docs/2.2/extensions/maven_plugin/

Still the same error.

I was checking what was the issue and found that Maven jar was corrupted during transfer…:

MD5 (gatling-charts-highcharts-2.2.4_BUNDLE.jar) = 488fbfe42c575770efc89705049a8c58

MD5 (gatling-charts-highcharts-2.2.4_MAVEN.jar) = fafa02308586bbc66c7e3904ab6c1fc9

MD5 (gatling-charts-highcharts-2.2.4_MAVEN_MANUAL.jar) = 488fbfe42c575770efc89705049a8c58

I did redownload highcharts jar manually and now gatling projects work as expected

I’d recommend turning checksumPolicy to fail to make sure such broken download don’t go unoticied.