3 ms·
Just tried running it and got this, I'm guessing I'm doing something wrong...? [me@localhost myapp]$ java -jar effectivejava-0.1.2-SNAPSHOT-standalone.jar -l -
by hajims 11y ago
Just tried running it and got this, I'm guessing I'm doing something wrong...?
[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.
- ftomassetti 11y agonever saw this error but current version is 0.1.3-SNAPSHOT. 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!
- hajims 11y agoquick google shows someone else had the same error: https://www.reddit.com/r/Clojure/comments/31uqab/writing_a_tool_to_measure_explore_and_analyze/ https://www.reddit.com/r/Clojure/comments/31uqab/writing_a_t... Thank you for this though, hopefully I'll get it working...