簡體   English   中英

你好,我無法將我的項目上傳到 heroku,它說我沒有文件 pom.xml 但我有

[英]hello, I can't upload my project to heroku, it says I don't have a file pom.xml but I have

我收到這個錯誤

-----> 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

也許這是一個非常愚蠢的問題,我提前道歉,我是初學者和自學成才。

POM 文件必須位於存儲庫的根目錄中,請參閱Heroku Java 指南

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM