創建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 然後運行