Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't execute any of what's show on page 68-69 of your book #57

Open
sb3rg opened this issue Sep 30, 2019 · 1 comment
Open

Can't execute any of what's show on page 68-69 of your book #57

sb3rg opened this issue Sep 30, 2019 · 1 comment

Comments

@sb3rg
Copy link

sb3rg commented Sep 30, 2019

I updated the dependencies my project.clj file, ran lein deps. I checked that it's in my ~/.m2/repository/ folder.

I tried requiring the project in the repl in multiple ways
(require '[com.backtype.def-datastores :as dfs])
(require '[com.backtype.def-datastores.hadoop :as hadoop])
(require '[com.backtype.def-datastores.hadoop.pail :as pail])

I keep getting this type of error:

Execution error (FileNotFoundException) at big-data.core/eval1560 (form-init14664829471889604774.clj:1).
Could not locate com/backtype/def_datastores__init.class, com/backtype/def_datastores.clj or com/backtype/def_datastores.cljc on classpath. Please check that namespaces with dashes use underscores in the Clojure file name.

What am I missing here?

@sb3rg
Copy link
Author

sb3rg commented Sep 30, 2019

correction that should read:
(require '[com.backtype.dfs-datastores :as dfs])

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant