Skip to content

Error compiling test namespaces in hybrid Java/Clojure maven module #378

@pkozikow

Description

@pkozikow

If I set the compiler to compile all Clojure namespaces, I get the following very uninformative error:

Error:clojure: java.lang.ExceptionInInitializerError, compiling:(my_test_ns.clj:1:1)

my_test_ns is under test/clojure in the maven module.

The workaround is to explicitly exclude all test namespaces in the compiler, after which I'm still able to actually run the tests in the REPL with no problems.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions