Hello!!!
I’m newbie with gatling. I’m using gatling with jdbc hive. I got this error while lunching ./gatling.sh. Any ideas please!!!
regards
Elloumi
Exception in thread “main” java.lang.NoClassDefFoundError: scalikejdbc/ConnectionPool$
at de.codecentric.gatling.jdbc.protocol.JdbcProtocol.(JdbcProtocol.scala:16)
at de.codecentric.gatling.jdbc.protocol.JdbcProtocol$.apply(JdbcProtocol.scala:38)
at de.codecentric.gatling.jdbc.protocol.JdbcProtocolBuilder.build(JdbcProtocolBuilderBase.scala:35)
at de.codecentric.gatling.jdbc.JdbcDsl.jdbcProtocolBuilder2JdbcProtocol(JdbcDsl.scala:19)
at de.codecentric.gatling.jdbc.JdbcDsl.jdbcProtocolBuilder2JdbcProtocol$(JdbcDsl.scala:19)
at de.codecentric.gatling.jdbc.Predef$.jdbcProtocolBuilder2JdbcProtocol(Predef.scala:6)
at createtable.(createtable.scala:33)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at java.lang.Class.newInstance(Class.java:442)
at io.gatling.app.Runner.run0(Runner.scala:79)
at io.gatling.app.Runner.run(Runner.scala:64)
at io.gatling.app.Gatling$.start(Gatling.scala:63)
at io.gatling.app.Gatling$.fromArgs(Gatling.scala:45)
at io.gatling.app.Gatling$.main(Gatling.scala:37)
at io.gatling.app.Gatling.main(Gatling.scala)
Caused by: java.lang.ClassNotFoundException: scalikejdbc.ConnectionPool$
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
… 18 more