首頁  >  文章  >  Java  >  IDEA新建springboot專案時未產生pom.xml檔案如何解決

IDEA新建springboot專案時未產生pom.xml檔案如何解決

WBOY
WBOY轉載
2023-05-16 23:07:043148瀏覽

先上圖:

IDEA新建springboot專案時未產生pom.xml檔案如何解決

新好springboot專案之後這裡沒產生pom.xml檔

我開始試了一下網路上的方法,在新建的時候修改choose spring initializr server為:

#http://start.springboot.io

IDEA新建springboot專案時未產生pom.xml檔案如何解決

然而我改了之後還是沒有pom.xml

如果你們也還是這樣的話請繼續看

#經過我一番摸索後解決了問題,下面直接上操作步驟

IDEA新建springboot專案時未產生pom.xml檔案如何解決

IDEA新建springboot專案時未產生pom.xml檔案如何解決

我之前的Type選的Gradle Project,這裡選擇Maven Project

我去大概搜了一下這幾種類型的差別:

IDEA新建springboot專案時未產生pom.xml檔案如何解決

這樣新建出來的就有pom.xml檔了

以上是IDEA新建springboot專案時未產生pom.xml檔案如何解決的詳細內容。更多資訊請關注PHP中文網其他相關文章!

陳述:
本文轉載於:yisu.com。如有侵權,請聯絡admin@php.cn刪除