# WebSpringBootPro **Repository Path**: huewei/WebSpringBootPro ## Basic Information - **Project Name**: WebSpringBootPro - **Description**: springboot 框架搭建,常用框架整合,常用工具编写,异步处理 - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 5 - **Forks**: 0 - **Created**: 2020-11-28 - **Last Updated**: 2025-07-21 ## Categories & Tags **Categories**: Uncategorized **Tags**: SpringBoot, SpringSecurity, JWT ## README ## 介绍 该项目是构建Spring Boot服务的脚手架,采用Spring Security以RBAC(基于角色的访问控制)作为权限管理方式,内部集成Quartz作为定时任务控制框架。采用MyBatis半自动ORM框架集成MyBatis Plus轻松查询数据库。此外还集成中间件Redis和ActiveMQ,以提高系统性能,支持消息下发和回溯。 **项目用到的一些框架/服务:** - **数据库**:MyBatis - **缓存**:Redis - **权限框架**:Spring Security - **接口文档**:Swagger3 - **访问地址**: - http://localhost:9999/api/swagger-ui/index.html - http://localhost:9999/api/druid/sql.html **你能从这个项目中学习到什么?** 1. Spring Security + JWT 实现登录、登出以及权限校验 2. Swagger3.0 整合使用 3. MyBatis Plus 整合使用 4. Redis 整合使用 5. ActiveMQ 整合使用 6. Filter 的使用 7. Interceptor 的使用 8. Listener 的使用 9. Lombok 整合使用 10. AOP 的实践 11. EasyPOI 实现导入导出 12. 异步任务处理 13. 注解的使用 14. 系统性能优化技巧 ## 项目概览 为了便于区分,与Spring Security相关的代码都被单独归类放置在专门的目录下。 ## 如何运行项目 ### 1. �3种运行方式 - 开发工具运行:导入IDE(如IDEA)后直接运行 `SpringBootWebProApplication.java`。 - 命令行运行:使用Maven命令运行 `mvn spring-boot:run` - 打包运行:使用 `mvn package` 构建JAR包,然后通过命令 `java -jar xxx.jar` 启动项目 ### 2. 验证运行 项目启动成功后,访问以下地址查看是否能够正常打开接口文档: - http://localhost:9999/api/swagger-ui/index.html 如果能够成功打开,表示项目运行正常。