Skip to content

Look into new FileNotFoundException error message #81

Description

@FuzzyCrafter

When copying in files from another project into the Babel repository to use Babel functions, I named them incorrectly with dashes in the file name instead of underscores. This message appeared in REPL when I tried to require one:

Execution error (FileNotFoundException) at babel.middleware/eval1121 (form-init16436014940846792569.clj:1).
Could not locate check/number_guess__init.class, check/number_guess.clj or check/number_guess.cljc on classpath. Please check that namespaces with dashes use underscores in the Clojure file name.

In Babel, the FileNotFoundException gets replaced with "The system was looking for a class .class or a file .clj, but neither one was found."

Perhaps the Babel error should be updated to include the suggestion from the new Clojure error message? Either way, this should be investigated.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

needs explorationNeed to find more specific examples and narrow down the issue

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions