this will help In a default lein new project you need to require the namespaces you wish to use explicitly -- (require 'my-lib.core). in-ns simply creates a new empty namespace of the given name if it doesn't already exist, it doesn't load any code from the classpath. App projects do this automatically and switch to the main namespace in the REPL task, because they have a :main foo.core entry in their project.clj by default. It's possible to do it for a library, but you shouldn't -- as a side effect, it causes AOT compilation of the main namespace, which is generally undesirable.
java.lang.AssertionError: java.lang.AssertionError: Expected :lastName is required Actual :loginName is required
wish help you to fix your issue It is likely the errors are not in the order you expect them. Further it would be better to split the test so that each validation is verified individually. In other words have ...WithMissingLastName, ...WithMissingLogin, ...WithMissingEmailAdress, ...WithMissingRole tests.
Cider repl throws java.lang.IllegalAccessError: with-safe-transport does not exist
will be helpful for those in need There is a github issue for cider describing the problem and providing a workaround for this issue. but for some reason google did not get me there. google is off today this is the issue: