gaurav
gaurav

Reputation: 317

Heroku mvn not found error

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.

Upvotes: 5

Views: 1635

Answers (1)

Jesper J.
Jesper J.

Reputation: 1003

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.

Upvotes: 5

Related Questions