[GATLING 2] blocker issue in master

30 views
Skip to first unread message

Stefan Magnus Landrø

unread,
Aug 29, 2013, 3:27:26 PM8/29/13
to gat...@googlegroups.com
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

Stéphane Landelle

unread,
Aug 29, 2013, 3:39:49 PM8/29/13
to gat...@googlegroups.com
Yes, this was refactored.
Did you use this class in your own code?


2013/8/29 Stefan Magnus Landrø <stefan...@gmail.com>

--
You received this message because you are subscribed to the Google Groups "Gatling User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gatling+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Stefan Magnus Landrø

unread,
Aug 29, 2013, 4:45:11 PM8/29/13
to gat...@googlegroups.com
No. Just a simple get()

Cheers

Stefan

Sendt fra min iPhone
You received this message because you are subscribed to a topic in the Google Groups "Gatling User Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/gatling/6oZ3S18mZps/unsubscribe.
To unsubscribe from this group and all its topics, send an email to gatling+u...@googlegroups.com.

Stéphane Landelle

unread,
Aug 30, 2013, 3:49:27 AM8/30/13
to gat...@googlegroups.com
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

Stefan Magnus Landrø

unread,
Sep 5, 2013, 5:09:50 AM9/5/13
to gat...@googlegroups.com
Yep. Touching the simulation helped.
Thanks Stephane!

Stefan

Stéphane Landelle

unread,
Sep 5, 2013, 9:26:44 AM9/5/13
to gat...@googlegroups.com
That's good to know: everybody will have the problem when we'll release the next milestone.
Thanks for reporting!


2013/9/5 Stefan Magnus Landrø <stefan...@gmail.com>
Reply all
Reply to author
Forward
0 new messages