Skip to content

Cannot find class while calling Java from Clojure. #205

@freeze-dolphin

Description

@freeze-dolphin

Expected Behavior

Calling java from clojure should work well.

Current Behavior

image

I use Cursive, and DumoCore is a kotlin class.

output:

> Task :checkClojure FAILED
Execution error (ClassNotFoundException) at java.net.URLClassLoader/findClass (URLClassLoader.java:445).
io.sn.dumortierite.wrapper.DumoWrapper


FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':checkClojure'.
> Compilation failed. See output above.

Context

Steps to reproduce

Simply gradle build

Here is the repo: https://github.com/freeze-dolphin/Dumortierite/tree/4bee42f4477c727e7b916ae0353a5d2221c61d93

I've switch to Leiningen, so please rollback to this commit.

Environment

Metadata

Metadata

Assignees

No one assigned

    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