dacort / metabase-athena-driver

An Amazon Athena driver for Metabase 0.32 and later
Apache License 2.0
225 stars 32 forks source link

Could not locate java_time__init.class, java_time.clj or java_time.cljc on classpath. Please check that namespaces with dashes use underscores in the Clojure file name #33

Closed naveenanamaneni closed 4 years ago

naveenanamaneni commented 4 years ago

Leiningen's classpath: /root/.lein/self-installs/leiningen-2.9.1-standalone.jar Applying task uberjar to [] Applying task javac to nil Running javac with [-target 1.8 -source 1.8 @/tmp/.leiningen-cmdline5556600515931511799.tmp] Applying task compile to nil Compiling metabase.driver.athena Syntax error compiling at (athena.clj:1:1). Exception in thread "main" Syntax error compiling at (athena.clj:1:1). at clojure.lang.Compiler$InvokeExpr.eval(Compiler.java:3707) at clojure.lang.Compiler.compile1(Compiler.java:7730) at clojure.lang.Compiler.compile1(Compiler.java:7720) at clojure.lang.Compiler.compile(Compiler.java:7797) at clojure.lang.RT.compile(RT.java:415) at clojure.lang.RT.load(RT.java:461) at clojure.lang.RT.load(RT.java:428) at clojure.core$load$fn6824.invoke(core.clj:6126) at clojure.core$load.invokeStatic(core.clj:6125) at clojure.core$load.doInvoke(core.clj:6109) at clojure.lang.RestFn.invoke(RestFn.java:408) at clojure.core$load_one.invokeStatic(core.clj:5908) at clojure.core$compile$fn6829.invoke(core.clj:6136) at clojure.core$compile.invokeStatic(core.clj:6136) at clojure.core$compile.invoke(core.clj:6128) at user$eval155$fn164.invoke(form-init8047446358687895041.clj:1) at user$eval155.invokeStatic(form-init8047446358687895041.clj:1) at user$eval155.invoke(form-init8047446358687895041.clj:1) at clojure.lang.Compiler.eval(Compiler.java:7176) at clojure.lang.Compiler.eval(Compiler.java:7166) at clojure.lang.Compiler.eval(Compiler.java:7166) at clojure.lang.Compiler.load(Compiler.java:7635) at clojure.lang.Compiler.loadFile(Compiler.java:7573) at clojure.main$load_script.invokeStatic(main.clj:452) at clojure.main$init_opt.invokeStatic(main.clj:454) at clojure.main$init_opt.invoke(main.clj:454) at clojure.main$initialize.invokeStatic(main.clj:485) at clojure.main$null_opt.invokeStatic(main.clj:519) at clojure.main$null_opt.invoke(main.clj:516) at clojure.main$main.invokeStatic(main.clj:598) at clojure.main$main.doInvoke(main.clj:561) at clojure.lang.RestFn.applyTo(RestFn.java:137) at clojure.lang.Var.applyTo(Var.java:705) at clojure.main.main(main.java:37) Caused by: java.io.FileNotFoundException: Could not locate java_timeinit.class, java_time.clj or java_time.cljc on classpath. Please check that namespaces with dashes use underscores in the Clojure file name. at clojure.lang.RT.load(RT.java:466) at clojure.lang.RT.load(RT.java:428) at clojure.core$load$fn6824.invoke(core.clj:6126) at clojure.core$load.invokeStatic(core.clj:6125) at clojure.core$load.doInvoke(core.clj:6109) at clojure.lang.RestFn.invoke(RestFn.java:408) at clojure.core$load_one.invokeStatic(core.clj:5908) at clojure.core$load_one.invoke(core.clj:5903) at clojure.core$load_lib$fn6765.invoke(core.clj:5948) at clojure.core$load_lib.invokeStatic(core.clj:5947) at clojure.core$load_lib.doInvoke(core.clj:5928) at clojure.lang.RestFn.applyTo(RestFn.java:142) at clojure.core$apply.invokeStatic(core.clj:667) at clojure.core$load_libs.invokeStatic(core.clj:5985) at clojure.core$load_libs.doInvoke(core.clj:5969) at clojure.lang.RestFn.applyTo(RestFn.java:137) at clojure.core$apply.invokeStatic(core.clj:667) at clojure.core$require.invokeStatic(core.clj:6007) at clojure.core$require.doInvoke(core.clj:6007) at clojure.lang.RestFn.invoke(RestFn.java:3204) at metabase.driver.athena$loading6706auto____171.invoke(athena.clj:1) at clojure.lang.AFn.applyToHelper(AFn.java:152) at clojure.lang.AFn.applyTo(AFn.java:144) at clojure.lang.Compiler$InvokeExpr.eval(Compiler.java:3702) ... 33 more Compilation failed: Subprocess failed

dacort commented 4 years ago

Hi @naveenanamaneni - It sounds like you may need to install Metabase locally.

There are some instructions for doing that here.

I'm going to close this issue for now as I would need more information to understand where this error message came from. If you're just trying to use the driver, check out the releases page where you can download a precompiled jar.