Skip to content
This repository has been archived by the owner on Mar 22, 2022. It is now read-only.

NoClassDefFoundError #21

Open
SujalAhrodia opened this issue Nov 11, 2018 · 1 comment
Open

NoClassDefFoundError #21

SujalAhrodia opened this issue Nov 11, 2018 · 1 comment

Comments

@SujalAhrodia
Copy link

On replicating the whole procedure on my macbook pro 2017, I am able to successfully create a jar as well as link the simulation file. However, while running the simulation I am facing the following error:

Simulation com.github.mnogu.gatling.kafka.test.KafkaSimulation started...
Uncaught error from thread [GatlingSystem-akka.actor.default-dispatcher-4] shutting down JVM since 'akka.jvm-exit-on-fatal-error' is enabled for ActorSystem[GatlingSystem]
java.lang.NoClassDefFoundError: io/gatling/commons/util/ClockSingleton$
at com.github.mnogu.gatling.kafka.action.KafkaRequestAction$$anonfun$com$github$mnogu$gatling$kafka$action$KafkaRequestAction$$sendRequest$1.apply(KafkaRequestAction.scala:65)
at com.github.mnogu.gatling.kafka.action.KafkaRequestAction$$anonfun$com$github$mnogu$gatling$kafka$action$KafkaRequestAction$$sendRequest$1.apply(KafkaRequestAction.scala:56)
at io.gatling.commons.validation.Success.map(Validation.scala:32)
...
..
..

Can someone share any thoughts on the probable reason for this?

@WillNilges
Copy link

I'm getting similar errors with Gatling 3.4.1. ClockSingleton probably doesn't exist in that package anymore or something.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants