# Running simulation using engine.scala in Eclipse IDE returns "There is no simulation script. Please check that your scripts are in user-files/simulations"

**URL:** <https://community.gatling.io/t/running-simulation-using-engine-scala-in-eclipse-ide-returns-there-is-no-simulation-script-please-check-that-your-scripts-are-in-user-files-simulations/486>\
**Category:** Gatling (Open-Source)\
**Created:** [July 10, 2013, 2:01pm UTC](https://community.gatling.io/t/running-simulation-using-engine-scala-in-eclipse-ide-returns-there-is-no-simulation-script-please-check-that-your-scripts-are-in-user-files-simulations/486 "2013-07-10T14:01:49Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Daniel\_Moll](https://avatars.discourse-cdn.com/v4/letter/d/97f17d/32.png) [@Daniel\_Moll](https://community.gatling.io/u/Daniel_Moll)\
**Post date:** [July 10, 2013, 2:01pm UTC](https://community.gatling.io/t/running-simulation-using-engine-scala-in-eclipse-ide-returns-there-is-no-simulation-script-please-check-that-your-scripts-are-in-user-files-simulations/486/1 "2013-07-10T14:01:49Z")

</div>

Hi,

I am trying to run a simulation running Gatling2 from Eclipse Juno 4.2 SR2. I have followed the steps described her: [https://github.com/excilys/gatling/wiki/Ide-integration](https://github.com/excilys/gatling/wiki/Ide-integration) and are able to start the recorder from Eclipse. When I try to run the engine.scala class it returns “There is no simulation script. Please check that your scripts are in user-files/simulations”.

I have tried to put the simulation file in the described path in several locations in the project but no luck so far. Can anybody tell me what the location of the simulation file should be?

Thanks!

Best regards,

Daniel

---

<div class="post-metadata">

**Author:** ![Excilys](https://avatars.discourse-cdn.com/v4/letter/e/8797f3/32.png) [@Excilys](https://community.gatling.io/u/Excilys)\
**Post date:** [July 10, 2013, 2:05pm UTC](https://community.gatling.io/t/running-simulation-using-engine-scala-in-eclipse-ide-returns-there-is-no-simulation-script-please-check-that-your-scripts-are-in-user-files-simulations/486/2 "2013-07-10T14:05:09Z")

</div>

This message is actually valid for the bundle.  
Your simulations should be placed in src/test/scala.

---

<div class="post-metadata">

**Author:** ![Daniel\_Moll](https://avatars.discourse-cdn.com/v4/letter/d/97f17d/32.png) [@Daniel\_Moll](https://community.gatling.io/u/Daniel_Moll)\
**Post date:** [July 11, 2013, 7:39am UTC](https://community.gatling.io/t/running-simulation-using-engine-scala-in-eclipse-ide-returns-there-is-no-simulation-script-please-check-that-your-scripts-are-in-user-files-simulations/486/3 "2013-07-11T07:39:06Z")

</div>

Thanks for your answer.

I placed my simulation file in src/test/scala, but I still get the same message. I also tried to put my simulation file in in a user-files/simulations directory inside src/test/scala but no luck. Any ideas what could be wrong? Thanks!

Daniel

---

<div class="post-metadata">

**Author:** ![Excilys](https://avatars.discourse-cdn.com/v4/letter/e/8797f3/32.png) [@Excilys](https://community.gatling.io/u/Excilys)\
**Post date:** [July 11, 2013, 7:45am UTC](https://community.gatling.io/t/running-simulation-using-engine-scala-in-eclipse-ide-returns-there-is-no-simulation-script-please-check-that-your-scripts-are-in-user-files-simulations/486/4 "2013-07-11T07:45:13Z")

</div>

Did you generate your project with the gatling maven archetype?  
Did you properly install m2e and m2e-scala?

---

<div class="post-metadata">

**Author:** ![Daniel\_Moll](https://avatars.discourse-cdn.com/v4/letter/d/97f17d/32.png) [@Daniel\_Moll](https://community.gatling.io/u/Daniel_Moll)\
**Post date:** [July 11, 2013, 8:03am UTC](https://community.gatling.io/t/running-simulation-using-engine-scala-in-eclipse-ide-returns-there-is-no-simulation-script-please-check-that-your-scripts-are-in-user-files-simulations/486/5 "2013-07-11T08:03:46Z")

</div>

I used

mvn archetype:generate -DarchetypeGroupId=io.gatling.highcharts -DarchetypeArtifactId=gatling-highcharts-maven-archetype -DarchetypeCatalog=http://repository.excilys.com/content/groups/public/archetype-catalog.xml

to generate the project.

Eclipse version:Juno Service Release 2  
Build id: 20130225-0426

Plugins:  
m2e - Maven Integration for Eclipse 1.4.0.20130601-0317 org.eclipse.m2e.feature.feature.group [Eclipse.org](http://Eclipse.org) - m2e  
Maven Integration for Scala IDE 0.4.3.201303250910 org.maven.ide.eclipse.scala\_feature.feature.group Sonatype, Inc.

---

<div class="post-metadata">

**Author:** ![Excilys](https://avatars.discourse-cdn.com/v4/letter/e/8797f3/32.png) [@Excilys](https://community.gatling.io/u/Excilys)\
**Post date:** [July 11, 2013, 8:12am UTC](https://community.gatling.io/t/running-simulation-using-engine-scala-in-eclipse-ide-returns-there-is-no-simulation-script-please-check-that-your-scripts-are-in-user-files-simulations/486/6 "2013-07-11T08:12:33Z")

</div>

Did you also install Scala IDE? if so, did you pick the right update-site for Juno (beware that the first one to appear on their website is the one for Indigo)?  
Note that you can generate a project from an archetype directly inside eclipse with m2e: new \> Project \> Maven \> Maven Project

Could you share a screen capture of your project, please?

---

<div class="post-metadata">

**Author:** ![Daniel\_Moll](https://avatars.discourse-cdn.com/v4/letter/d/97f17d/32.png) [@Daniel\_Moll](https://community.gatling.io/u/Daniel_Moll)\
**Post date:** [July 11, 2013, 8:21am UTC](https://community.gatling.io/t/running-simulation-using-engine-scala-in-eclipse-ide-returns-there-is-no-simulation-script-please-check-that-your-scripts-are-in-user-files-simulations/486/7 "2013-07-11T08:21:26Z")

</div>

Dear Stéphane,

I found the problem: my project was still located in the default (on Windows) GitHub directory “My Documents\GitHub” I moved the project to a location without white spaces in the path and now my simulation runs fine from Eclipse! Thanks again for your time and answers!

Cheers

Daniel

---

<div class="post-metadata">

**Author:** ![Excilys](https://avatars.discourse-cdn.com/v4/letter/e/8797f3/32.png) [@Excilys](https://community.gatling.io/u/Excilys)\
**Post date:** [July 11, 2013, 8:24am UTC](https://community.gatling.io/t/running-simulation-using-engine-scala-in-eclipse-ide-returns-there-is-no-simulation-script-please-check-that-your-scripts-are-in-user-files-simulations/486/8 "2013-07-11T08:24:12Z")

</div>

Thanks for your feedback. I’ll add this in our documentation, other users might run into the same issue.
