play.api.Configuration$$anon$1

Configuration error[Cannot connect to database [neo4j]]

Samebug tips1

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.


rprp

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web715

Stack trace

  • play.api.Configuration$$anon$1: Configuration error[Cannot connect to database [neo4j]] at play.api.Configuration$.configError(Configuration.scala:154) at play.api.Configuration.reportError(Configuration.scala:806) at play.api.db.DefaultDBApi$$anonfun$connect$1.apply(DefaultDBApi.scala:48) at play.api.db.DefaultDBApi$$anonfun$connect$1.apply(DefaultDBApi.scala:42) at scala.collection.immutable.List.foreach(List.scala:381) at play.api.db.DefaultDBApi.connect(DefaultDBApi.scala:42) at play.api.db.DBApiProvider.get$lzycompute(DBModule.scala:72) at play.api.db.DBApiProvider.get(DBModule.scala:62) at play.api.db.DBApiProvider.get(DBModule.scala:58) at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81) Caused by: play.api.Configuration$$anon$1: Configuration error[Driver not found: [org.neo4j.jdbc.BaseDriver}]] at play.api.Configuration$.configError(Configuration.scala:154) at play.api.PlayConfig.reportError(Configuration.scala:996) at play.api.db.DefaultDatabase$$anonfun$driver$1.apply(Databases.scala:115) at play.api.db.DefaultDatabase$$anonfun$driver$1.apply(Databases.scala:109) at scala.Option.map(Option.scala:146) at play.api.db.DefaultDatabase.driver$lzycompute(Databases.scala:109) at play.api.db.DefaultDatabase.driver(Databases.scala:108) at play.api.db.DefaultDatabase.dataSource$lzycompute(Databases.scala:123) at play.api.db.DefaultDatabase.dataSource(Databases.scala:122) at play.api.db.DefaultDatabase.getConnection(Databases.scala:143) Caused by: play.api.PlayException: Cannot load Driver[Driver [org.neo4j.jdbc.BaseDriver] cannot be instantiated.] at play.utils.Reflect$.createInstance(Reflect.scala:142) at play.api.db.DefaultDatabase$$anonfun$driver$1.apply(Databases.scala:111) at play.api.db.DefaultDatabase$$anonfun$driver$1.apply(Databases.scala:109) at scala.Option.map(Option.scala:146) at play.api.db.DefaultDatabase.driver$lzycompute(Databases.scala:109) at play.api.db.DefaultDatabase.driver(Databases.scala:108) at play.api.db.DefaultDatabase.dataSource$lzycompute(Databases.scala:123) at play.api.db.DefaultDatabase.dataSource(Databases.scala:122) at play.api.db.DefaultDatabase.getConnection(Databases.scala:143) at play.api.db.DefaultDatabase.getConnection(Databases.scala:139) Caused by: java.lang.InstantiationException: org.neo4j.jdbc.BaseDriver at java.lang.Class.newInstance(Class.java:427) at play.utils.Reflect$.createInstance(Reflect.scala:154) at play.utils.Reflect$.createInstance(Reflect.scala:136) at play.api.db.DefaultDatabase$$anonfun$driver$1.apply(Databases.scala:111) at play.api.db.DefaultDatabase$$anonfun$driver$1.apply(Databases.scala:109) at scala.Option.map(Option.scala:146) at play.api.db.DefaultDatabase.driver$lzycompute(Databases.scala:109) at play.api.db.DefaultDatabase.driver(Databases.scala:108) at play.api.db.DefaultDatabase.dataSource$lzycompute(Databases.scala:123) at play.api.db.DefaultDatabase.dataSource(Databases.scala:122) Caused by: java.lang.NoSuchMethodException: org.neo4j.jdbc.BaseDriver.<init>() at java.lang.Class.getConstructor0(Class.java:3082) at java.lang.Class.newInstance(Class.java:412) at play.utils.Reflect$.createInstance(Reflect.scala:154) at play.utils.Reflect$.createInstance(Reflect.scala:136) at play.api.db.DefaultDatabase$$anonfun$driver$1.apply(Databases.scala:111) at play.api.db.DefaultDatabase$$anonfun$driver$1.apply(Databases.scala:109) at scala.Option.map(Option.scala:146) at play.api.db.DefaultDatabase.driver$lzycompute(Databases.scala:109) at play.api.db.DefaultDatabase.driver(Databases.scala:108) at play.api.db.DefaultDatabase.dataSource$lzycompute(Databases.scala:123)

Write tip

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

Users with the same issue

Unknown visitor
Unknown visitorOnce,
Xiaokang WangXiaokang Wang
3 times, last one
jkjk
81 times, last one
Unknown visitor
Unknown visitorOnce,
Unknown visitor
Unknown visitorOnce,
114 more bugmates