slick.SlickException

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

I downgraded to spark-notebook scala 2.10 with hadoop 2.6.0 then it worked. Finally switched to Apache Drill, works like a charm for diverse datasets.


rp

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • How to use a Non Supported Database in Slick 3.1
    via Stack Overflow by JMess
    ,
  • Using play-slick with Vertica
    via by Jordan Messec,
  • Slick with Vertica
    via by Jordan Messec,
  • MyBatis. select error
    via Stack Overflow by user3278977
    ,
  • Not able inject bean in the component
    via Stack Overflow by webgeek
    ,
    • slick.SlickException: Error getting instance of Slick driver "slick.driver.JdbcDriver" at slick.backend.DatabaseConfig$.forConfig(DatabaseConfig.scala:65) at play.api.db.slick.DefaultSlickApi$DatabaseConfigFactory.create(SlickApi.scala:89) at play.api.db.slick.DefaultSlickApi$DatabaseConfigFactory.get$lzycompute(SlickApi.scala:81) at play.api.db.slick.DefaultSlickApi$DatabaseConfigFactory.get(SlickApi.scala:80) at play.api.db.slick.DefaultSlickApi.dbConfig(SlickApi.scala:66) at play.api.db.slick.NamedDatabaseConfigProvider$$anon$1.get(SlickModule.scala:59) at utils.liger.DimensionMapper.<init>(DimensionMapper.scala:32) at utils.liger.DimensionMapper$$FastClassByGuice$$1320fe73.newInstance(<generated>) at com.google.inject.internal.cglib.reflect.$FastConstructor.newInstance(FastConstructor.java:40) at com.google.inject.internal.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:61) at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:105) at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85) at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267) at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38) at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62) at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:104) at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85) at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267) at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103) at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) at com.google.inject.internal.InternalInjectorCreator$1.call(InternalInjectorCreator.java:205) at com.google.inject.internal.InternalInjectorCreator$1.call(InternalInjectorCreator.java:199) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092) at com.google.inject.internal.InternalInjectorCreator.loadEagerSingletons(InternalInjectorCreator.java:199) at com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:180) at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:110) at com.google.inject.Guice.createInjector(Guice.java:96) at com.google.inject.Guice.createInjector(Guice.java:84) at play.api.inject.guice.GuiceBuilder.injector(GuiceInjectorBuilder.scala:181) at play.api.inject.guice.GuiceApplicationBuilder.build(GuiceApplicationBuilder.scala:123) at play.api.inject.guice.GuiceApplicationLoader.load(GuiceApplicationLoader.scala:21) at play.core.server.ProdServerStart$.start(ProdServerStart.scala:47) at play.core.server.ProdServerStart$.main(ProdServerStart.scala:22) at play.core.server.ProdServerStart.main(ProdServerStart.scala) Caused by: java.lang.InstantiationException: slick.driver.JdbcDriver at java.lang.Class.newInstance(Class.java:427) at slick.backend.DatabaseConfig$.forConfig(DatabaseConfig.scala:63) ... 36 more Caused by: java.lang.NoSuchMethodException: slick.driver.JdbcDriver.<init>() at java.lang.Class.getConstructor0(Class.java:3082) at java.lang.Class.newInstance(Class.java:412) ... 37 more

    Users with the same issue

    Axelo
    1 times, last one,
    Unknown visitor1 times, last one,
    osvzs
    1 times, last one,
    Andreas Häber
    2 times, last one,
    tzrlk
    1 times, last one,
    110 more bugmates