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

Exception in thread "main" java.lang.StackOverflowError #40

Closed
AsaAyers opened this issue Jun 19, 2015 · 3 comments
Closed

Exception in thread "main" java.lang.StackOverflowError #40

AsaAyers opened this issue Jun 19, 2015 · 3 comments

Comments

@AsaAyers
Copy link

I'm new to Clojure. As far as I can tell this is the minimum project.clj:

(defproject euler "0.2.0")

When I run lein cljfmt fix I get a StackOverflowError. If I specify the files to fix it works.

I installed cljfmt by adding it to my ~/.lein/profiles.clj

{:user {:plugins [[lein-exec "0.3.5"] [lein-cljfmt "0.1.10"]]}}
@weavejester
Copy link
Owner

Are you running into issue #33?

@AsaAyers
Copy link
Author

You're correct. This is a duplicate issue.

Since I'm starting to learn Clojure I'm messing around and haven't yet learned the "proper" way to setup a project. So I just have a few files in a folder that I'm experimenting with. At this point I have no idea why :source-paths matters.

@weavejester
Copy link
Owner

:source-paths define the paths of your source code. It defaults to ["src"]. You may be running into #33 if you've redefined this value, or if you do not have a src directory.

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

2 participants