目录
- 替换变化的类和配置
- 把javax.servlet 替换为 jakarta.servlet
- 修改redis的配置
- 配置logging.level.org.springframework.boot.autoconfigure=error避免影响视听
替换变化的类和配置
把javax.servlet 替换为 jakarta.servlet
import javax.servlet.ServletContext;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
...
替换成
import jakarta.servlet.ServletContext;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpSession;
...
修改redis的配置
spring:redis:database: 0host: localhostjedis:pool:max-active: 8max-idle: 8max-wait: -1min-idle: 0password: ''port: 6379timeout: 10000
换成
spring:data:redis:database: 0host: localhostjedis:pool:max-active: 8max-idle: 8max-wait: -1min-idle: 0password: ''port: 6379timeout: 10000
配置logging.level.org.springframework.boot.autoconfigure=error避免影响视听
logging:level:org.springframework.boot.autoconfigure: error
推荐给大家一本专业学习流程引擎的书籍,非常实用