-
Notifications
You must be signed in to change notification settings - Fork 19
Got the following errors when I used PublishExample.scala #37
Comments
######## Below is the full stacktrace.
FAILURE: Build failed with an exception.
|
This plugin has only been tested on sbt and with scala compiler 2.13. And we recommend use this with sbt. You may use our template for create repo with performance tests |
It's already better than before))) You need write all imports like shown below. import io.gatling.core.Predef._
import io.gatling.core.structure.ScenarioBuilder
import ru.tinkoff.gatling.amqp.Predef._
import ru.tinkoff.gatling.amqp.examples.Utils._
import ru.tinkoff.gatling.amqp.protocol.AmqpProtocolBuilder And possible activate implicit conversion in scala compiler with flag import scala.language.implicitConversions |
Hi Community,
I have tried to use different Scala SDK versions. Is it because Protocol.scala is not in this path anymore but instead at io.gatling.core.protocol.Protocol?
Please kindly help me.
Thank you,
Compiling with Zinc Scala compiler.
Prepared Zinc Scala inputs: 0.12 secs
Compiling 28 Scala sources to /home/kevin/IdeaProjects/GatlingPerfFramework/build/classes/scala/gatling ...
[Error] /home/kevin/IdeaProjects/GatlingPerfFramework/src/gatling/simulations/setup/VLS/RabbitMQ_amqpClient.scala:18: Symbol 'type io.gatling.core.config.Protocol' is missing from the classpath.
This symbol is required by 'class io.gatling.amqp.config.AmqpProtocol'.
Make sure that type Protocol is in your classpath and check for conflicting dependencies with
-Ylog-classpath
.A full rebuild may help if 'AmqpProtocol.class' was compiled against an incompatible version of io.gatling.core.config.
[Error] /home/kevin/IdeaProjects/GatlingPerfFramework/src/gatling/simulations/setup/VLS/RabbitMQ_amqpClient.scala:34: overloaded method value protocols with alternatives:
(ps: Iterable[io.gatling.core.protocol.Protocol])RabbitMQ_amqpClient.this.SetUp
(ps: io.gatling.core.protocol.Protocol*)RabbitMQ_amqpClient.this.SetUp
cannot be applied to (io.gatling.amqp.config.AmqpProtocol)
two errors found
The text was updated successfully, but these errors were encountered: