Abiy/distGatling

User defined Simulation class could not be loaded

MaheshGooner opened this issue · 0 comments

I get the following error after i submit a simulation class. Could you please advice ?

Exception in thread "main" java.lang.IllegalArgumentException: User defined Simulation class com.alh.store.gatling.simulation.BasicSimulation could not be loaded at io.gatling.app.Selection$Selector.findUserDefinedSimulationInClassloader$1(Selection.scala:80) at io.gatling.app.Selection$Selector.$anonfun$singleSimulationFromConfig$4(Selection.scala:85) at scala.Option.orElse(Option.scala:447) at io.gatling.app.Selection$Selector.$anonfun$singleSimulationFromConfig$3(Selection.scala:85) at scala.Option.flatMap(Option.scala:271) at io.gatling.app.Selection$Selector.singleSimulationFromConfig(Selection.scala:83) at io.gatling.app.Selection$Selector.$anonfun$selection$1(Selection.scala:52) at scala.Option.getOrElse(Option.scala:189) at io.gatling.app.Selection$Selector.selection(Selection.scala:44) at io.gatling.app.Selection$.apply(Selection.scala:36) at io.gatling.app.Runner.run0(Runner.scala:73) at io.gatling.app.Runner.run(Runner.scala:60) at io.gatling.app.Gatling$.start(Gatling.scala:80) at io.gatling.app.Gatling$.fromArgs(Gatling.scala:46) at io.gatling.app.Gatling$.main(Gatling.scala:38) at io.gatling.app.Gatling.main(Gatling.scala)Caused by: java.lang.ClassNotFoundException: com.alh.store.gatling.simulation.BasicSimulation at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:264) at io.gatling.app.Selection$Selector.$anonfun$singleSimulationFromConfig$2(Selection.scala:71) at scala.util.Try$.apply(Try.scala:213) at io.gatling.app.Selection$Selector.findUserDefinedSimulationInClassloader$1(Selection.scala:71) ... 15 more[]

image