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

Problem compiling with mount db file (db.clj) #44

Closed
adamjohnwright opened this issue Jan 11, 2017 · 1 comment
Closed

Problem compiling with mount db file (db.clj) #44

adamjohnwright opened this issue Jan 11, 2017 · 1 comment

Comments

@adamjohnwright
Copy link
Member

##Problem
This error occurs when you switch branches or move a file (db.clj), presumably with a macro, to a new location.

##Output

lein with-profile +datomic-pro,+ddb ring server-headless 8130
Picked up _JAVA_OPTIONS: -Xmx4G
Picked up _JAVA_OPTIONS: -Xmx4G
Compiling datomic-rest-api.get-handler
^[[A^[[APicked up _JAVA_OPTIONS: -Xmx4G
^[[AException in thread "main" java.lang.NoClassDefFoundError: mount/core/DerefableState, compiling:(/tmp/form-init3934453147777406180.clj:1:73)
at clojure.lang.Compiler.load(Compiler.java:7391)

@adamjohnwright
Copy link
Member Author

##Fix

  1. Run lein to get the error
  2. touch -m datomic_to_catalyst/utils/db.clj
  3. Should be fixed - rerun lein

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