Fork me on GitHub
#heroku
<
2016-12-20
>
Drew Verlee21:12:19

Has anyone seen this before:

2016-12-20T20:58:41.581941+00:00 heroku[web.1]: Starting process with command `java $JVM_OPTS -cp target/uberjar/vending_machine_app.jar clojure.main -m vending-machine-app.core`
2016-12-20T20:58:44.476168+00:00 heroku[web.1]: Process exited with status 1
2016-12-20T20:58:44.184985+00:00 app[web.1]: Setting JAVA_TOOL_OPTIONS defaults based on dyno size. Custom settings will override them.
2016-12-20T20:58:44.188819+00:00 app[web.1]: Picked up JAVA_TOOL_OPTIONS:  -Djava.rmi.server.useCodebaseOnly=true
2016-12-20T20:58:44.344523+00:00 app[web.1]: Error: Could not find or load main class clojure.main
2016-12-20T20:58:44.497899+00:00 heroku[web.1]: State changed from starting to crashed
2016-12-20T20:58:44.498636+00:00 heroku[web.1]: State changed from crashed to starting
2016-12-20T20:58:51.080625+00:00 heroku[web.1]: Starting process with command `java $JVM_OPTS -cp target/uberjar/vending_machine_app.jar clojure.main -m vending-machine-app.core`
2016-12-20T20:58:53.581140+00:00 app[web.1]: Setting JAVA_TOOL_OPTIONS defaults based on dyno size. Custom settings will override them.
2016-12-20T20:58:53.585293+00:00 app[web.1]: Picked up JAVA_TOOL_OPTIONS:  -Djava.rmi.server.useCodebaseOnly=true
2016-12-20T20:58:53.818612+00:00 app[web.1]: Error: Could not find or load main class clojure.main
2016-12-20T20:58:53.921592+00:00 heroku[web.1]: Process exited with status 1
2016-12-20T20:58:53.936305+00:00 heroku[web.1]: State changed from starting to crashed
2016-12-20T20:58:55.488558+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host= request_id=79fc5b5c-03b0-4b92-ae91-cb01cd5a38a9 fwd="24.127.128.191" dyno= connect= service= status=503 bytes=
The only suggestion i can find online is to make sure you built the uberjar.. which i did. If i run the Procfile command locally it works: