简体   繁体   中英

Java Play! todolist tutorial; can't push to production on Heroku. Error H10

I'm new to web development and I've just finished the Java Play! todolist tutorial: http://www.playframework.com/documentation/2.1.3/JavaTodoList

The app was running locally, however I can't get it to run on Heroku. I get an H10 error code.

Some have suggested:

$ heroku run rake db:migrate
$ heroku restart

But when run the rake I get a "Rake aborted! No rake file found!" error. Is this a rails thing?

Thanks for any help.

[EDIT] FIXED - See my comment response! Needed to update the procfile.

I thought the H10 error wasn't very specific, which is why I asked the question. Apparently, I just didn't read high enough up into my log file. If I had kept reading I would've found, "target/universal/stage/bin/{your-app-name-here} no such file or directory"

Apparently I forgot to change some text in my Procfile. Thanks to the link below for the answer: Error Deploying to Heroku Play 2.2 app

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM