传统与springboot搭建项目思路

Posted 我是程序、猿

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了传统与springboot搭建项目思路相关的知识,希望对你有一定的参考价值。

传统方法 

  a: 创建web工程

  b: 配置springmvc web.xml

  c: 编写controller

  d :部署tomact

springboot

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

  2 编写controller

  3 主启动类

  4 启动main

以上是关于传统与springboot搭建项目思路的主要内容,如果未能解决你的问题,请参考以下文章