SpringMVC开发环境的搭建配置流程

版权声明:本文为博主原创文章,转载注明出处。 https://blog.csdn.net/Adonis_D_Gogh/article/details/80832266
1、新建一个maven项目;
核心配置:
2、配置pom.xml
在pom文件中,引入我们所需要的依赖
3、配置web.xml
配置了spring上下文applicationContext.xml,配置servlet
4、配置spring-servlet.xml
指定了请求的扫描以及对http接口的基本配置
5、配置applicationContext.xml
配置了spring相关的关于db的一些处理,在db里引入了mybatis的配置
6、配置mybatis-config.xml;

————————————
7、配置logback.xml;
8、编写测试接口;
9、配置tomcat;
10、启动测试环境;


猜你喜欢

转载自blog.csdn.net/Adonis_D_Gogh/article/details/80832266
今日推荐