# Io.gatling:gatling-maven-plugin:4.20.0:test No simulations to run

**URL:** <https://community.gatling.io/t/io-gatling4-20-0-test-no-simulations-to-run/9733>\
**Category:** Gatling (Open-Source)\
**Created:** [July 22, 2025, 7:49pm UTC](https://community.gatling.io/t/io-gatling4-20-0-test-no-simulations-to-run/9733 "2025-07-22T19:49:11Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![yswangw](https://avatars.discourse-cdn.com/v4/letter/y/74df32/32.png) [@yswangw](https://community.gatling.io/u/yswangw)\
**Post date:** [July 22, 2025, 7:49pm UTC](https://community.gatling.io/t/io-gatling4-20-0-test-no-simulations-to-run/9733/1 "2025-07-22T19:49:11Z")

</div>

**Gatling version** : 3.14.3  
**Gatling flavor** : java  
**Gatling build tool** : maven  
Hi;  
I am new to Gatling, I was following the instruction of [Create your first Java-based simulation](https://docs.gatling.io/tutorials/scripting-intro/) to run the first simulation, But I got Failed to execute goal io.gatling:gatling-maven-plugin:4.20.0:test No simulations to run  
Can you please advise how to solve the issue?

Thanks

---

<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:** [July 22, 2025, 8:02pm UTC](https://community.gatling.io/t/io-gatling4-20-0-test-no-simulations-to-run/9733/2 "2025-07-22T20:02:15Z")

</div>

The error message is very clear: you don’t have any concrete Java class extending `io.gatling.javaapi.core.Simulation` in your classpath, so Gatling doesn’t have anything to run.

---

<div class="post-metadata">

**Author:** ![yswangw](https://avatars.discourse-cdn.com/v4/letter/y/74df32/32.png) [@yswangw](https://community.gatling.io/u/yswangw)\
**Post date:** [July 22, 2025, 8:13pm UTC](https://community.gatling.io/t/io-gatling4-20-0-test-no-simulations-to-run/9733/3 "2025-07-22T20:13:36Z")

</div>

Hi slandelle,  
in the src/test/java/example, there is a class BasicSimulation ([gatling-maven-plugin-demo-java/src/test/java/example/BasicSimulation.java at main · gatling/gatling-maven-plugin-demo-java · GitHub](https://github.com/gatling/gatling-maven-plugin-demo-java/blob/main/src/test/java/example/BasicSimulation.java))

Thanks

---

<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:** [July 22, 2025, 8:28pm UTC](https://community.gatling.io/t/io-gatling4-20-0-test-no-simulations-to-run/9733/4 "2025-07-22T20:28:33Z")

</div>

Are you saying that you have just cloned the `gatling-maven-plugin-demo-java` repository and haven’t changed anything, such as removing the `BasicSimulation.java` file ?  
If so, I’m afraid I can’t help: it works out-of-the-box for everyone else.

---

<div class="post-metadata">

**Author:** ![yswangw](https://avatars.discourse-cdn.com/v4/letter/y/74df32/32.png) [@yswangw](https://community.gatling.io/u/yswangw)\
**Post date:** [July 22, 2025, 8:32pm UTC](https://community.gatling.io/t/io-gatling4-20-0-test-no-simulations-to-run/9733/5 "2025-07-22T20:32:35Z")

</div>

yes, I just cloned the repo, only changed the maven-compiler-plugin to java 21  
  
maven-compiler-plugin  
21

---

<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:** [July 22, 2025, 8:38pm UTC](https://community.gatling.io/t/io-gatling4-20-0-test-no-simulations-to-run/9733/6 "2025-07-22T20:38:59Z")

</div>

```auto
% java -version
openjdk version "21.0.7" 2025-04-15 LTS
OpenJDK Runtime Environment Zulu21.42+19-CA (build 21.0.7+6-LTS)
OpenJDK 64-Bit Server VM Zulu21.42+19-CA (build 21.0.7+6-LTS, mixed mode, sharing)
% mvn -version
Apache Maven 3.9.11 (3e54c93a704957b63ee3494413a2b544fd3d825b)
Maven home: /Users/slandelle/Documents/dev/build/maven/maven
Java version: 21.0.7, vendor: Azul Systems, Inc., runtime: /Library/Java/JavaVirtualMachines/zulu-21.jdk/Contents/Home
Default locale: fr_FR, platform encoding: UTF-8
OS name: "mac os x", version: "15.3.1", arch: "aarch64", family: "mac"
% mvn gatling:test
[INFO] Scanning for projects...
[INFO]
[INFO] -----------< io.gatling.demo:gatling-maven-plugin-demo-java >-----------
[INFO] Building gatling-maven-plugin-demo-java 3.14.3
[INFO] from pom.xml
[INFO] --------------------------------[jar]---------------------------------
[INFO]
[INFO] >>> gatling:4.20.0:test (default-cli) > test-compile @ gatling-maven-plugin-demo-java >>>
[INFO]
[INFO] --- resources:3.3.1:resources (default-resources) @ gatling-maven-plugin-demo-java ---
[INFO] skip non existing resourceDirectory /Users/slandelle/Documents/dev/projects/gatling-03-samples/gatling-maven-plugin-demo-java/src/main/resources
[INFO]
[INFO] --- compiler:3.14.0:compile (default-compile) @ gatling-maven-plugin-demo-java ---
[INFO] No sources to compile
[INFO]
[INFO] --- resources:3.3.1:testResources (default-testResources) @ gatling-maven-plugin-demo-java ---
[INFO] Copying 2 resources from src/test/resources to target/test-classes
[INFO]
[INFO] --- compiler:3.14.0:testCompile (default-testCompile) @ gatling-maven-plugin-demo-java ---
[INFO] Nothing to compile - all classes are up to date.
[INFO]
[INFO] <<< gatling:4.20.0:test (default-cli) < test-compile @ gatling-maven-plugin-demo-java <<<
[INFO]
[INFO]
[INFO] --- gatling:4.20.0:test (default-cli) @ gatling-maven-plugin-demo-java ---
[INFO] Running simulation example.BasicSimulation.
Simulation example.BasicSimulation started...
...

```

---

<div class="post-metadata">

**Author:** ![yswangw](https://avatars.discourse-cdn.com/v4/letter/y/74df32/32.png) [@yswangw](https://community.gatling.io/u/yswangw)\
**Post date:** [July 22, 2025, 9:44pm UTC](https://community.gatling.io/t/io-gatling4-20-0-test-no-simulations-to-run/9733/7 "2025-07-22T21:44:49Z")

</div>

Thank you very much! It worked

---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/flex013/uploads/gatling2/original/2X/b/b148e0742de35c6280726cabf3ecd3de2d320f63.png) [@system](https://community.gatling.io/u/system)\
**Post date:** [August 21, 2025, 9:45pm UTC](https://community.gatling.io/t/io-gatling4-20-0-test-no-simulations-to-run/9733/8 "2025-08-21T21:45:11Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
