import boostrap._ not found


I have a weird issue

The ZincCompiler give me an error on the import boostrap._ line :

[INFO] Exception in thread “main” Compilation failed
[INFO] at
[INFO] 13:46:01.257 [main][ERROR][slf4j.scala:105] c.e.e.g.a.ZincCompiler$ - /home/gbougeard/git/IT/gatling-test/src/main/resources/simulations/soap/TransatSimulation.scala:8: not found: object boostrap at sbt.compiler.AnalyzingCompiler.compile(AnalyzingCompiler.scala:35)
[INFO] 13:46:01.259 [main][ERROR][slf4j.scala:105] c.e.e.g.a.ZincCompiler$ - import boostrap._ at sbt.compiler.AnalyzingCompiler.compile(AnalyzingCompiler.scala:29)
[INFO] 13:46:01.260 [main][ERROR][slf4j.scala:105] c.e.e.g.a.ZincCompiler$ - ^
[INFO] 13:46:01.275 [main][ERROR][slf4j.scala:105] c.e.e.g.a.ZincCompiler$ - one error found

I’m using the maven plugin with gatling 1.3.4 (and maven3).

Can you send your simulation, please?

Are you 100% sure you use Gatling 1.3.4?

I’m getting a 340 error when I try to attach files :frowning:

[INFO] — gatling-maven-plugin:1.3.4:execute (default-cli) @ gatling-tests —

Be careful, it’s : import bootstrap._

I sent you an email with the files attached.

Hi all,

Have you found where it comes from ? We are encountering the same issue, but with gatling 1.4.2 and scala-maven-plugin 3.0.1.

Thanks for your help,

Hi Audrey,

Nice to see you there!

Have you tried cleaning up the target dir? Zinc (the incremental Scala compiler) caches things there.



I found the Stéphane mail I got :

verifiy the syntax :

import boostrap or import bootstrap