by hajims · 11y ago · 0 comments
[me@localhost myapp]$ java -jar effectivejava-0.1.2-SNAPSHOT-standalone.jar -l -d "/home/me/myapp"
Exception in thread "main" java.lang.ExceptionInInitializerError at java.lang.Class.forName0(Native Method)
...
at app.core.<clinit>(Unknown Source)
Caused by: java.lang.NullPointerException
...
Could not find the main class: app.core. Program will exit.
The instructions are probably confusing, I will fix them. You can run: lein jar java -jar target/effectivejava-0.1.3-SNAPSHOT.jar and then the options.
Thank you for reporting this!
https://www.reddit.com/r/Clojure/comments/31uqab/writing_a_t...
Thank you for this though, hopefully I'll get it working...