Spring boot 之部署

在該網站生成spring boot 項目. https://start.spring.io/ 該網站Generate要選擇maven,Selected Dependencies 一定要勾選WEB.其他都無所謂.   生成的項目,目錄結構如下: 隨後我改成了這樣: DemoApplication移動到了com.yk下 在com.yk下創建了一個controller目錄 好處:啓動DemoApplic
相關文章
相關標籤/搜索