- Updated Monday, March 14th 2016 @ 18:23:28
I have read through all the clojure-ish threads in other games and cant seem to find a solution.
This is the error
Error: Could not find or load main class clojure.main
And this is the output dump
Running testcase /opt/aigames/etc/testsfourinarow/testfourinarow.txt... Testing Bot with setup input... ... finished testcase in 0.160000000149 seconds Test failed: no output
As other threads have a suggested I have a main function that is called explicitly. Everything works ok locally. I also tried running it with theaigames.com exact method of executing clojure code as shown by the dev jim in this thread,
java -cp lib/clojure.jar:bin/ -Xss8m -Xmx450m clojure.main '$MAINCLJ'
And When I run my script like this (setting its name to MAINCLJ) I get the same error locally. But Im not sure why.
But When I change the command to this (remove the :bin/) it works fine.
java -cp lib/clojure.jar -Xss8m -Xmx450m clojure.main '$MAINCLJ'
- Created Tuesday, March 15th 2016 @ 12:23:41
Turns out it was an issue after the devs updated clojure. Thanks to them for the quick response and fix.