Object gatling is not a member of package io - JDBC feeder

Has anyone ever experienced this when using the jdbc feeder?

object gatling is not a member of package io
[error] import io.gatling.jdbc.Predef._

$ cat .\build.sbt
enablePlugins(GatlingPlugin)

scalaVersion := “2.13.11”

scalacOptions := Seq(
“-encoding”, “UTF-8”, “-release:8”, “-deprecation”,
“-feature”, “-unchecked”, “-language:implicitConversions”, “-language:postfixOps”)

val gatlingVersion = “3.9.5”
libraryDependencies += “io.gatling.highcharts” % “gatling-charts-highcharts” % gatlingVersion % “test,it”
libraryDependencies += “io.gatling” % “gatling-test-framework” % gatlingVersion % “test,it”
libraryDependencies += “com.typesafe.play” %% “play-json” % “2.9.2”

Looks like the import needs to be in the test directory (or that’s what I am thinking). Happy Gatling.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.