总结配置SpringBoot环境的详细知识内容

本文介绍了SpringBoot的环境配置,包括端口号与上下文路径设置、数据源配置、热部署配置、Ehcache缓存、Mybatis及PageHelper的使用,并提供了相关配置参数示例。
摘要由CSDN通过智能技术生成

SpringBoot 作为当下开发项目中最流行的框架之一,备受公司的青睐。下面我将和大家如何对 SpringBoot 进行环境配置,下面是详情内容。

一、pom文件配置

org.springframework.boot spring-boot-starter-parent 2.2.2.RELEASE org.springframework.boot spring-boot-starter-web org.mybatis.spring.boot mybatis-spring-boot-starter 2.1.1 com.github.pagehelper pagehelper-spring-boot-starter 1.2.13 mysql mysql-connector-java com.mchange c3p0 0.9.5.5 org.springframework.boot spring-boot-starter-freemarker org.springframework.boot spring-boot-starter-thymeleaf org.springframework.boot spring-boot-starter-mail org.springframework.boot spring-boot-starter-aop org.springframework.boot spring-boot-starter-logging org.springframework.boot spring-boot-starter-tomcat provided org.apache.commons commons-lang3 io.springfox springfox-swagger2 2.9.2 io.springfox springfox-swagger-ui 2.9.2 org.springframework.boot spring-boot-devtools true org.springframework.boot spring-boot-starter-test org.springframework.boot spri
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值