[GATLING 2] blocker issue in master

Hi guys,

Just pulled from master, and am getting this error:

Simulation MySimulation started…
Exception in thread “main” java.lang.NoClassDefFoundError: io/gatling/http/request/builder/GetHttpRequestBuilder
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2413)
at java.lang.Class.getConstructor0(Class.java:2723)

Cheers

Stefan

Yes, this was refactored.
Did you use this class in your own code?

No. Just a simple get()

Cheers

Stefan

This class has been removed from master and it works fine on my side.

I can see 2 possible explanations:

  • your local Gatling jar are not aligned
  • your simulation compiled byte code references this class and it’s not being recompiled as the .scala file wasn’t modified (either touch the file or clear the target directory that contains the .class)
    Cheers,

Stéphane

Yep. Touching the simulation helped.
Thanks Stephane!

Stefan

That’s good to know: everybody will have the problem when we’ll release the next milestone.
Thanks for reporting!