I have one java application which is running in my local machine . I pushed it in to heroku now when I am trying to run it by run the command heroku run “mvn exec:java –Dexec.mainClass=”my main class””
it is giving
sh: mvn: not found
previously it was working fine I run that with same command now it is giving this error.
We removed mvn from the compiled slug in an update a few weeks ago. You can read more about it here:
http://devcenter.heroku.com/articles/release-note-java-2011-09-29
In case you're wondering why you couldn't find this article, we just published it. Apologize for the delay.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With