传统与springboot搭建项目思路

传统方法 

  a: 创建web工程

  b: 配置springmvc web.xml

  c: 编写controller

  d :部署tomact

springboot

  1 创建springboot 工程 必须继承spring-boot-stater-parent

  2 编写controller

  3 主启动类

  4 启动main

猜你喜欢

转载自www.cnblogs.com/proyuan/p/11799274.html