Skip to content

Look into new FileNotFoundException error message #81

@FuzzyCrafter

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions