Clojure: The Main-Class specified does not exist within the jar.

The Main-Class specified does not exist within the jar. It may not be executable as expected. A gen-class directive may be missing in the namespace which contains the main method, or the namespace has not been AOT-compiled.
While there are many posts (and bug reports out there regarding this `Warning`, what none of them mention is that it could also mean that everything is perfect, but that your file might have the wrong extension.

`.cljs`, instead of `.clj`, for example. Hopefully this note will help others troubleshoot this warning a bit faster if this is the case.

Comments

Popular posts from this blog

Sentinel.v3.5Client and Windows 7

Installing Bugzilla under Hostgator Cpanel