Error H14 (No web processes running) deploy on Heroku

后端 未结 4 1338
耶瑟儿~
耶瑟儿~ 2021-02-20 09:19

I try to create simple java App on Heroku. I following step by step from http://samuelsharaf.wordpress.com/2011/11/06/create-a-simple-java-web-app-using-maven-and-upload-to-hero

4条回答
  •  孤街浪徒
    2021-02-20 09:34

    You need to remove your ProcFile and add again

    git rm ProcFile –f   
    

    Again add the ProcFile to project

    1. Check the spellings
    2. Content structure of the ProcFile
    3. ProcFile should not contain any extensions.

    After that do the normal git procedure,

      git add . 
        
        git commit –m “add procfile” 
        
        git push heroku master 
     
    

    You will see,

    Procfile declares types -> web

    Instead of

    Procfile declares types -> (none)

提交回复
热议问题