# springboot-test-root **Repository Path**: zhengjiaao/springboot-test-root ## Basic Information - **Project Name**: springboot-test-root - **Description**: springboot2.x 技术预研框架 - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-10-25 - **Last Updated**: 2025-10-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: SpringBoot, Java ## README # springboot-test-root > [springboot 2.x 官方文档](https://spring.io/projects/spring-boot) **说明** springboot 项目中常用到的一些技术集成示例,可以快速开始开箱测试,以及集成到项目当中使用。 ## spring-boot 集成(组件)示例 > 以下是已经完成的示例模块 - [springboot-ai Ai赋能](./springboot-ai) - [springboot-ai-alibaba 阿里云百炼-大模型AI](./springboot-ai/springboot-ai-alibaba) - [springboot-ai-asr ASR语音识别](./springboot-ai/springboot-ai-asr) - [springboot-ai-chatgpt 接入OpenAI](./springboot-ai/springboot-ai-chatgpt) - [springboot-ai-langchain4j 大模型语言统一API封装](./springboot-ai/springboot-ai-langchain4j) - [springboot-nlp NLP自然语言分析](./springboot-ai/springboot-ai-nlp) - [springboot-ocr OCR图文识别提取](./springboot-ai/springboot-ai-ocr) - [springboot-api API管理](./springboot-api) - [springboot-api-swagger2](./springboot-api/springboot-api-swagger2) - [springboot-api-swagger2-knife4j](./springboot-api/springboot-api-swagger2-knife4j) - [springboot-api-swagger3](./springboot-api/springboot-api-swagger3) - [springboot-api-swagger3-knife4j](./springboot-api/springboot-api-swagger3-knife4j) - [springboot-bigdata 大数据](./springboot-bigdata) - [springboot-bigdata-hadoop](./springboot-bigdata/springboot-bigdata-hadoop) - [hadoop-common](./springboot-bigdata/springboot-bigdata-hadoop/hadoop-common) - [hadoop-hdfs](./springboot-bigdata/springboot-bigdata-hadoop/hadoop-hdfs) - [hadoop-mapreduce](./springboot-bigdata/springboot-bigdata-hadoop/hadoop-mapreduce) - [hadoop-spark](./springboot-bigdata/springboot-bigdata-hadoop/hadoop-spark) - [springboot-cache 缓存](./springboot-cache) - [springboot-cache-jetcache](./springboot-cache/springboot-cache-jetcache) - [springboot-cache-redis](./springboot-cache/springboot-cache-redis) - [springboot-captcha 验证码](./springboot-captcha) - [springboot-captcha-easy](./springboot-captcha/springboot-captcha-easy) - [springboot-captcha-hutool](./springboot-captcha/springboot-captcha-hutool) - [springboot-captcha-penggle](./springboot-captcha/springboot-captcha-penggle) - [springboot-db 数据库](./springboot-db) - [springboot-db-dm 达梦数据库](./springboot-db/springboot-db-dm) - [springboot-db-elasticsearch](./springboot-db/springboot-db-elasticsearch) - [springboot-db-flywaydb SQL 版本管理](./springboot-db/springboot-db-flywaydb) - [springboot-db-liquibase SQL 版本管理](./springboot-db/springboot-db-liquibase) - [springboot-db-h2](./springboot-db/springboot-db-h2) - [springboot-db-mongodb](./springboot-db/springboot-db-mongodb) - [springboot-db-multiple-datasources-jpa-jta 分布式事物管理](./springboot-db/springboot-db-multiple-datasources-jpa-jta) - [springboot-db-mysql](./springboot-db/springboot-db-mysql) - [springboot-db-neo4j 图数据库](./springboot-db/springboot-db-neo4j) - [springboot-db-neo4j-dynamic-node](./springboot-db/springboot-db-neo4j-dynamic-node) - [springboot-db-neo4j-manager](./springboot-db/springboot-db-neo4j-manager) - [springboot-db-oracle](./springboot-db/springboot-db-oracle) - [springboot-db-pool 连接池druid、hikaricp等](./springboot-db/springboot-db-pool) - [springboot-db-postgresql](./springboot-db/springboot-db-postgresql) - [springboot-db-postgresql-postgis Gis地理数据库](./springboot-db/springboot-db-postgresql-postgis) - [springboot-db-redis](./springboot-db/springboot-db-redis) - [springboot-db-redis-redisson 分布式缓存应用](./springboot-db/springboot-db-redis-redisson) - [springboot-db-shardingsphere-jpa 分库分表](./springboot-db/springboot-db-shardingsphere-jpa) - [springboot-encrypt 加解密](./springboot-encrypt) - [springboot-encrypt-aes](./springboot-encrypt/springboot-encrypt-aes) - [springboot-encrypt-base64](./springboot-encrypt/springboot-encrypt-base64) - [springboot-encrypt-des](./springboot-encrypt/springboot-encrypt-des) - [springboot-encrypt-rsa 非对称算法](./springboot-encrypt/springboot-encrypt-rsa) - [springboot-encrypt-sm 国密算法](./springboot-encrypt/springboot-encrypt-sm) - [springboot-encrypt-util](./springboot-encrypt/springboot-encrypt-util) - [springboot-encrypt-yaml](./springboot-encrypt/springboot-encrypt-yaml) - [springboot-file 文件相关操作](./springboot-file) - [springboot-file-cad](./springboot-file/springboot-file-cad) - [springboot-file-compress 解压缩](./springboot-file/springboot-file-compress) - [springboot-file-csv](./springboot-file/springboot-file-csv) - [springboot-file-excel](./springboot-file/springboot-file-excel) - [springboot-file-image](./springboot-file/springboot-file-image) - [springboot-file-io](./springboot-file/springboot-file-io) - [springboot-file-json](./springboot-file/springboot-file-json) - [springboot-file-mdb](./springboot-file/springboot-file-mdb) - [springboot-file-monitor](./springboot-file/springboot-file-monitor) - [springboot-file-pandoc](./springboot-file/springboot-file-pandoc) - [springboot-file-parts 大文件分片上传/下载](./springboot-file/springboot-file-parts) - [springboot-file-pdf](./springboot-file/springboot-file-pdf) - [springboot-file-preview 文件预览](./springboot-file/springboot-file-preview) - [springboot-file-resources](./springboot-file/springboot-file-resources) - [springboot-file-storage 文件存储](./springboot-file/springboot-file-storage) - [springboot-file-word](./springboot-file/springboot-file-word) - [springboot-file-yaml](./springboot-file/springboot-file-yaml) - [springboot-gis Gis相关操作](./springboot-gis) - [springboot-gis-gdal](./springboot-gis/springboot-gis-gdal) - [springboot-gis-geotools](./springboot-gis/springboot-gis-geotools) - [springboot-gis-jts](./springboot-gis/springboot-gis-jts) - [springboot-gis-proj4J](./springboot-gis/springboot-gis-proj4J) - [springboot-gis-supermap 超图Gis](./springboot-gis/springboot-gis-supermap) - [springboot-gis-supermap-xgis](./springboot-gis/springboot-gis-supermap-xgis) - [springboot-git git相关操作](./springboot-git) - [springboot-hanbian 汉语编程(中文编程)](./springboot-hanbian) - [springboot-java Java相关操作](./springboot-java) - [springboot-java-function](./springboot-java/springboot-java-function) - [springboot-java-jdk](./springboot-java/springboot-java-jdk) - [springboot-java-juc](./springboot-java/springboot-java-juc) - [springboot-java-lambda](./springboot-java/springboot-java-lambda) - [springboot-java-lang](./springboot-java/springboot-java-lang) - [springboot-java-optional](./springboot-java/springboot-java-optional) - [springboot-log 日志管理](./springboot-log) - [springboot-log-log4j2](./springboot-log/springboot-log-log4j2) - [springboot-log-log4j2-config](./springboot-log/springboot-log-log4j2-config) - [springboot-log-logback](./springboot-log/springboot-log-logback) - [springboot-log-logback-config](./springboot-log/springboot-log-logback-config) - [springboot-mapping 对象属性映射](./springboot-mapping) - [springboot-mapping-dozer](./springboot-mapping/springboot-mapping-dozer) - [springboot-mapping-mapstruct](./springboot-mapping/springboot-mapping-mapstruct) - [springboot-monitor 应用监控](./springboot-monitor) - [springboot-monitor-prometheus 普罗米修斯监控](./springboot-monitor/springboot-monitor-prometheus) - [springboot-mq MQ消息中间件](./springboot-mq) - [springboot-mq-rabbitmq](./springboot-mq/springboot-mq-rabbitmq) - [springboot-mq-rabbitmq-spring](./springboot-mq/springboot-mq-rabbitmq-spring) - [springboot-mq-rabbitmq-starter](./springboot-mq/springboot-mq-rabbitmq-starter) - [springboot-mq-rocketmq](./springboot-mq/springboot-mq-rocketmq) - [springboot-mq-rocketmq5x](./springboot-mq/springboot-mq-rocketmq5x) - [springboot-mvc MVC相关操作](./springboot-mvc) - [springboot-mvc-exception](./springboot-mvc/springboot-mvc-exception) - [springboot-mvc-filter](./springboot-mvc/springboot-mvc-filter) - [springboot-mvc-interceptor](./springboot-mvc/springboot-mvc-interceptor) - [springboot-mvc-response](./springboot-mvc/springboot-mvc-response) - [springboot-mvc-web](./springboot-mvc/springboot-mvc-web) - [springboot-obfuscated Java代码混淆](./springboot-obfuscated) - [springboot-obfuscated-allatori](./springboot-obfuscated/springboot-obfuscated-allatori) - [springboot-obfuscated-proguard](./springboot-obfuscated/springboot-obfuscated-proguard) - [springboot-obfuscated-jshrink](./springboot-obfuscated/springboot-obfuscated-jshrink) - [springboot-patterns 重学Java设计模式](./springboot-patterns) - [1-creational-patterns 创建型模式 5种](./1-creational-patterns) - [2-structural-patterns 结构型模式 7种](./2-structural-patterns) - [3-behaviour-patterns 行为型模式 11种](./3-behaviour-patterns) - [springboot-plugin 插件](./springboot-plugin) - [springboot-process 流程管理](./springboot-process) - [springboot-process-liteflow](./springboot-process/springboot-process-liteflow) - [springboot-process-tangram](./springboot-process/springboot-process-tangram) - [springboot-qrcode 二维码](./springboot-qrcode) - [springboot-qrcode-qrgen](./springboot-qrcode/springboot-qrcode-qrgen) - [springboot-qrcode-zxing](./springboot-qrcode/springboot-qrcode-zxing) - [springboot-remote 远程调用](./springboot-remote) - [springboot-remote-httpclient-apache](./springboot-remote/springboot-remote-httpclient-apache) - [springboot-remote-httpclient-jdk](./springboot-remote/springboot-remote-httpclient-jdk) - [springboot-remote-okhttp](./springboot-remote/springboot-remote-okhttp) - [springboot-remote-openfeign](./springboot-remote/springboot-remote-openfeign) - [springboot-remote-openfeign-arcgis](./springboot-remote/springboot-remote-openfeign-arcgis) - [springboot-remote-restTemplate](./springboot-remote/springboot-remote-restTemplate) - [springboot-remote-webclient](./springboot-remote/springboot-remote-webclient) - [springboot-retry 重试机制](./springboot-retry) - [springboot-retry-aop](./springboot-retry/springboot-retry-aop) - [springboot-retry-custom](./springboot-retry/springboot-retry-custom) - [springboot-retry-guava](./springboot-retry/springboot-retry-guava) - [springboot-retry-spring](./springboot-retry/springboot-retry-spring) - [springboot-rule 规则引擎](./springboot-rule) - [springboot-rule-aviator](./springboot-rule/springboot-rule-aviator) - [springboot-rule-commons-jexl3](./springboot-rule/springboot-rule-commons-jexl3) - [springboot-rule-groovy](./springboot-rule/springboot-rule-groovy) - [springboot-rule-qlexpress](./springboot-rule/springboot-rule-qlexpress) - [springboot-sensitive-word 敏感词过滤](./springboot-sensitive-word) - [springboot-task 定时任务](./springboot-task) - [springboot-task-quartz](./springboot-task/springboot-task-quartz) - [springboot-task-springtask](./springboot-task/springboot-task-springtask) - [springboot-task-xxl-job](./springboot-task/springboot-task-xxl-job) - [springboot-thread 多线程](./springboot-thread) - [springboot-thread-dynamic 动态线程池配置](./springboot-thread/springboot-thread-dynamic) - [springboot-thread-pools 线程池配置](./springboot-thread/springboot-thread-pools) - [springboot-unit-testing 单元测试](./springboot-unit-testing) - [boot-test](springboot-unit-testing/boot-test) - [boot-test-jar](springboot-unit-testing/boot-test-jar) - [boot-test-junit5](springboot-unit-testing/boot-test-junit5) - [springboot-utils 工具包使用](./springboot-utils) - [springboot-apache](./springboot-utils/springboot-apache) - [springboot-custom](./springboot-utils/springboot-custom) - [springboot-guava](./springboot-utils/springboot-guava) - [springboot-hutool](./springboot-utils/springboot-hutool) - [springboot-utils-id](./springboot-utils/springboot-utils-id) - [springboot-web-19000 REST接口提供者](./springboot-web-19000) ## 本地运行环境搭建 > 以下是你必须要安装的基础软件,可以使项目正常打包及运行. | | 官网文档 | github | 使用版本下载 | 详细 | 是否必须安装 | |-------|-----------------------------------------------------------------------------------|--------|------------------------------------------------------------------------------|----|--------| | java | [www.oracle.com/java8](https://www.oracle.com/java/technologies/downloads/#java8) | | [java8 downloads](https://www.oracle.com/java/technologies/downloads/#java8) | | **必须** | | maven | [maven.apache.org](https://maven.apache.org/) | | [maven3.6.2 downloads](https://maven.apache.org/download.cgi) | | **必须** | ## 适配的中间件版本 > 以下是你可能会用到的中间件 | | 官网文档 | github | 使用版本下载 | 详细 | 推荐 | |------------|-------------------------------------------------------------------|-------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------|----|----| | zookeeper | [zookeeper.apache.org](http://zookeeper.apache.org/releases.html) | | [zookeeper-3.6.3-bin.tar.gz](https://www.apache.org/dyn/closer.lua/zookeeper/zookeeper-3.6.3/apache-zookeeper-3.6.3-bin.tar.gz) | | | | Git | [git-scm.com](https://git-scm.com/) | | [git-latest](https://git-scm.com/downloads) | | | | Minio | [minio 官网](https://min.io/) | [minio github](https://github.com/minio/minio) | [minio-latest](https://min.io/docs/minio/windows/index.html) | | | | Rocketmq | [rocketmq 官方](https://rocketmq.apache.org/zh/) | [rocketmq github](https://github.com/apache/rocketmq) | [rocketmq-4.9.4](https://github.com/apache/rocketmq/releases/tag/rocketmq-all-4.9.4) | | | | Rabbitmq | [Rabbitmq 官方](https://www.rabbitmq.com/) | [Rabbitmq github](https://github.com/rabbitmq) | [rabbitmq-server-3.11.5](https://github.com/rabbitmq/rabbitmq-server/releases/tag/v3.11.5) | | | | kkfileview | [kkview.cn 官网](https://kkview.cn/zh-cn/index.html) | [kekingcn/kkFileView](https://github.com/kekingcn/kkFileView) | [v4.3.0](https://github.com/kekingcn/kkFileView/releases) | | | | onlyoffice | [onlyoffice.com 官网](https://helpcenter.onlyoffice.com/) | [ONLYOFFICE](https://github.com/ONLYOFFICE) | [7.4.1](https://github.com/ONLYOFFICE/DocumentServer/releases) | | | | prometheus | [prometheus.io 官网](https://prometheus.io/) | [prometheus/prometheus](https://github.com/prometheus/prometheus) | [2.46.0](https://github.com/prometheus/prometheus/releases) | | | | xxl-job | [xxl-job](https://www.xuxueli.com/xxl-job) | [xuxueli/xxl-job](https://github.com/xuxueli/xxl-job/) | [v2.4.0](https://github.com/xuxueli/xxl-job/releases) | | | ## 后续计划 > 以下是后续计划预研的技术,不分先后顺序 2025年计划: | | 说明 | 是否完成 | |--------------------|-------------------------------|-----------------| | springboot-ai | 预研Ai相关技术(ChatGPT、ChatGLM、...) | 进行中 | | springboot-login | 预研接入第三方平台登录(QQ、微信、企业微信、...) | 计划延后,需平台认证 | | springboot-payment | 预研接入第三方平台支付(微信、支付宝、QQ、银联、...) | 计划延后,需平台认证,存在收费 | 2024年计划: | | 说明 | 是否完成 | |---------------------|--------------------------------------------|---------------| | springboot-mq | 预研消息中间件kafka、rabbit、rocketmq等 | **已完成** | | springboot-patterns | 重学Java设计模式 | **已完成** | | springboot-login | 预研接入第三方平台登录(QQ、微信、企业微信、...) | 计划延后,需认证 | | springboot-payment | 预研接入第三方平台支付(微信、支付宝、QQ、银联、...) | 计划延后,需认证,存在收费 | | springboot-gis | 预研Gis空间数据处理(GeoTools、gdal、JTS、PostGis、...) | **已完成** | | springboot-ai | 预研Ai相关技术(ChatGPT、ChatGLM、...) | 进行中 | | springboot-ocr | 预研OCR相关技术(图文识别、音频识别、...) | **已完成** | ## 你还可以学习其他项目 > 以下是你可能需要学习的其他项目及技术 | | 资源地址 | 说明 | | |------------------------------------------|----------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------|--| | github/zhengjiaao | [github.com/zhengjiaao](https://github.com/zhengjiaao) | 主页面,展示一些比较重要技术预研项目 | | | zhengjiaao/springcloud-test-root | [springcloud-test-root](https://github.com/zhengjiaao/springcloud-test-root) | springcloud 全家桶(组件) 技术预研框架,内容较多,较基础,偏向于技术的应用,适合初学者快速掌握某项技术,欢迎Star,推荐学习 | | | zhengjiaao/spring-boot-starter-test-root | [spring-boot-starter-test-root](https://github.com/zhengjiaao/spring-boot-starter-test-root) | spring-boot-starter 2.x 全家桶(组件) 技术预研框架,内容较多,较基础,偏向于技术的应用,适合初学者快速掌握某项技术,欢迎Star,推荐学习 | | | zhengjiaao/springboot-test-root | [springboot-test-root](https://github.com/zhengjiaao/springboot-test-root) | springboot 2.x 技术预研框架,内容较多,较基础,偏向于技术的应用,适合初学者快速掌握某项技术,欢迎Star,推荐学习 | | | zhengjiaao/spring5x | [spring5x](https://github.com/zhengjiaao/spring5x) | spring 5.x 技术预研框架 | | | zhengjiaao/springboot-test-redis | [springboot-test-redis](https://github.com/zhengjiaao/springboot-test-redis) | springboot 2.x + redis 项目实战-实例,很早之前学习redis写的,可以学习redis工具类、数据缓存、消息发布和订阅等 | | | zhengjiaao/springboot-test-mybatis-root | [springboot-test-mybatis-root](https://github.com/zhengjiaao/springboot-test-mybatis-root) | springboot 2.x 集成 mybatis、mybatis-plus、分页插件 pagehelper。 使用 mybatis 实现简单的CRUD操作,动态插入、批量插入等操作。 | | ## springboot 版本对应选型 - 参考地址: - https://start.spring.io/actuator/info - https://spring.io/projects/spring-cloud#overview - https://docs.spring.io/spring-boot/docs/{springboot-verion}/reference/htmlsingle/ | Spring Boot | Spring Framework | Spring Cloud | spring-cloud-alibaba | Java | Maven | Gradle | Tomcat | |---------------|------------------|--------------|----------------------|-------------|----------------|----------------------------|--------------------------| | 3.2.x | 6.0.x | 2022.0.x | 2021.x | Java 17 | 3.6.3 or later | 7.x (7.5 or later) and 8.x | Tomcat 10.x | | 2.7.x | 5.3.x | 2021.0.x | 2021.x | Java 8 or 9 | 3.5+ | 6.8+ | Tomcat 9.x | | 2.5.x | 5.3.x | 2020.0.x | 2020.x | Java 8 or 9 | 3.5+ | 6.8+ | Tomcat 8.x or Tomcat 9.x | | 2.3.x.RELEASE | 5.2.x.RELEASE | Hoxton | 2.2.x | Java 8 or 9 | 3.3+ | 4.4+ | Tomcat 8.x or Tomcat 9.x | | 1.5.x.RELEASE | 4.x.x.RELEASE | Edgware | 1.5.x | Java 7 or 8 | 3.2+ | 2.9+ | Tomcat 7.x or Tomcat 8.x |