Gatling IntelliJ import io.gatling failure

Hi All,

I created a maven project for gatling using the maven archetype mentioned in as mentioned in Step by step guide to setting up IDEA to write gatling simulations the maven build was successful.
but the import files mentioned below are not imported. Correct me what went wrong.

import io.gatling.core.config.GatlingPropertiesBuilder



pom.xml (2.95 KB)

Look at the versions. That gist is ANCIENT. those imports are simply not needed anymore.

If the build is successful, it’s probably because it’s all good and your project works, no ? :slight_smile:

Btw, your version of Gatling is ancient too, latest is 2.1.7.

Hi all,

I’ve created a new Intellij project with archetype 1.5.6 and Gatling version 2.1.7. And I have the same issues.
Should the project be created as archetype? Because in your example here it looks much simpler, but I wonder how it works - gatling-maven-plugin-demo/pom.xml at main · gatling/gatling-maven-plugin-demo · GitHub


pom.xml (4.04 KB)

Using a version of the archetype almost 2 years old with the latest version of Gatling has little chance to work.
Use the 2.1.7 version of the archetype.