目录
- 替换变化的类和配置
- 把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: 0
host: localhost
jedis:
pool:
max-active: 8
max-idle: 8
max-wait: -1
min-idle: 0
password: ''
port: 6379
timeout: 10000
换成
spring:
data:
redis:
database: 0
host: localhost
jedis:
pool:
max-active: 8
max-idle: 8
max-wait: -1
min-idle: 0
password: ''
port: 6379
timeout: 10000
配置logging.level.org.springframework.boot.autoconfigure=error避免影响视听
logging:
level:
org.springframework.boot.autoconfigure: error
推荐给大家一本专业学习流程引擎的书籍,非常实用