I have a java file with a single class and I want to include it in my lein project. Where do I put it and how do I import it? (I tried putting it in the src directory under the package path but it tells me ClassNotFound)
So the java file has this package declaration:
package com.thebuzzmedia.imgscalr;
and has this class:
public class Scalr {
I put it in ~/src/com/thebuzzmedia/imgscalr/Scalr.java and tried to import it from the repl thusly:
(import '(com.thebuzzmedia.imgscalr Scalr))
And I get this:
com.thebuzzmedia.imgscalr.Scalr
[Thrown class java.lang.ClassNotFoundException]
What am I missing?