java.lang.NoSuchMethodError: io.gatling.core.Predef$. configuration()Lio/gatling/core/config/GatlingConfiguration;

Google Groups | Shravan Kumar | 11 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Exception in thread "main" java.lang.NoSuchMethodError: io.gatling.core.Predef$. configuration()Lio/gatling/core/config/GatlingConfiguration;

    Google Groups | 11 months ago | Shravan Kumar
    java.lang.NoSuchMethodError: io.gatling.core.Predef$. configuration()Lio/gatling/core/config/GatlingConfiguration;

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      io.gatling.core.Predef$. configuration()Lio/gatling/core/config/GatlingConfiguration;

      at advanced.AGIS_V01_June2016.<init>()
    2. advanced
      AGIS_V01_June2016.<init>
      1. advanced.AGIS_V01_June2016.<init>(AGIS_V01_June2016.scala:13)
      1 frame
    3. Java RT
      Class.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
      4. java.lang.reflect.Constructor.newInstance(Unknown Source)
      5. java.lang.Class.newInstance(Unknown Source)
      5 frames
    4. gatling-core
      Runner.run
      1. io.gatling.core.runner.Runner.run(Runner.scala:36)
      1 frame
    5. gatling-app
      Gatling$$anonfun$runSimulationIfNecessary$1.apply
      1. io.gatling.app.Gatling$$anonfun$runSimulationIfNecessary$1.apply(Gatling.scala:138)
      2. io.gatling.app.Gatling$$anonfun$runSimulationIfNecessary$1.apply(Gatling.scala:123)
      2 frames
    6. Scala
      Option.getOrElse
      1. scala.Option.getOrElse(Option.scala:121)
      1 frame
    7. gatling-app
      Gatling.main
      1. io.gatling.app.Gatling.runSimulationIfNecessary(Gatling.scala:123)
      2. io.gatling.app.Gatling.start(Gatling.scala:73)
      3. io.gatling.app.Gatling$.fromArgs(Gatling.scala:59)
      4. io.gatling.app.Gatling$.main(Gatling.scala:44)
      5. io.gatling.app.Gatling.main(Gatling.scala)
      5 frames