IDEA創建Spring boot web 項目 & RUN

創建Spring boot web:
1.file——new——project
2.選擇Spring Initializr——SDK 我用的1.8所以。。。
3.選擇Default:http://start.spring.io
4.Group:寫你的包名
5.Artifact:寫你的項目名 其他默認就好 直接next;
6. 選擇web 右邊spring web
7. finish

RUN:
網上學習仿大衆點評的項目那就導入項目後 錘子進行build—— Edit configuriation——配置好tomcat
記得 在Deployment下 + 項目的war 然後運行

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章