java.lang.RuntimeException: No main class detected.
[error] at scala.sys.package$.error(package.scala:30)
[error] stack trace is suppressed; run last Compile / bgRun for the full output
[error] (Compile / bgRun) No main class detected.
This is completely unrelated to Gatling, there’s nothing we can do here.
This is a sbt question that would be best answered on stackoverflow or an sbt forum.
Note: sbt is really a tool meant for Scala developers. If you’re not one, you really should stick to maven
or gradle
, and even better, stick to Gatling Java instead of Gatling Scala.