# my-springboot-examples **Repository Path**: xiaofan-2022/my-springboot-examples ## Basic Information - **Project Name**: my-springboot-examples - **Description**: springboot常用技术整合 - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 3 - **Created**: 2024-06-21 - **Last Updated**: 2024-06-21 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # my-springboot-examples 整合SpringBoot 常用技术点 # 升级3.0踩坑记录 ##### 1. mysql 依赖错误 这是2.0版本的依赖 ```xml mysql mysql-connector-java runtime ``` 需要更换为 ```xml com.mysql mysql-connector-j runtime ``` ##### 2. servlet 包需要更改 2.0 的 ```java import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; ``` 3.0之后的 ```java import jakarta.servlet.http.HttpServletRequest; import jakarta.servlet.http.HttpServletResponse; import jakarta.servlet.http.HttpSession; ```