我收到這個錯誤
-----> Building on the Heroku-20 stack
-----> Using buildpack: heroku/java
-----> App not compatible with buildpack: https://buildpack-
registry.s3.amazonaws.com/buildpacks/heroku/java.tgz
Could not find a pom.xml file! Please check that it exists and is committed to Git.
More info: https://devcenter.heroku.com/articles/buildpacks#detection-failure
! Push failed
但我的專案中有 pom.xml https://github.com/Nurba1713/e-book.git
也許這是一個非常愚蠢的問題,我提前道歉,我是初學者,自學成才。
uj5u.com熱心網友回復:
POM 檔案必須位于存盤庫的根目錄中,請參閱Heroku Java 指南
轉載請註明出處,本文鏈接:https://www.uj5u.com/qianduan/460370.html
