
Spring Boot
文章平均质量分 50
Spring Boot
亦翼
操千曲而后晓声,观千剑而后识器
展开
-
【PageHelper】踩坑记录
no such constructor: com.github.pagehelper.parser.defaults.DefaultCountSqlParser.()void/newInvokeSpecial原创 2024-04-25 15:08:13 · 970 阅读 · 0 评论 -
Maven引入外部依赖包
Maven如何引入外部依赖包原创 2022-10-18 16:07:53 · 639 阅读 · 0 评论 -
前后端分离架构如何导出Excel表格
本文基于SpringBoot前后端分离架构,介绍如何使用Hutool提供的工具类导出Excel表格。原创 2022-10-06 12:04:55 · 1180 阅读 · 0 评论 -
IDEA - 将项目自定义配置文件转为SpringBoot配置文件
配置后支持点击配置文件中的属性名进行跳转(与Spring自带属性跳转类似)原创 2022-09-01 10:02:40 · 786 阅读 · 0 评论 -
JSR-303后台校验流程规范
文章目录简介校验的小栗子常用的校验规则空检查Boolean检查长度检查日期检查数值检查简介JSR-303是一个数据验证的规范,但Spring并没有对其进行实现,Hibernate Validator实现了这一规范,通过此实现来讲解SpringMVC对JSR-303的支持。校验的小栗子JSR-303的校验是基于注解的,首先要把这些注解标记在需要验证的实体类的属性前或是其对应属性的get方法上:// 实体类@NotEmpty(message = "用户名不能为空!")private Str原创 2021-11-26 10:51:47 · 318 阅读 · 0 评论 -
Could not autowire. No beans of ‘XXX‘ type found.
问题描述:解决方案:在对应的mapper接口加上@Component注解:原创 2021-09-09 10:59:48 · 304 阅读 · 0 评论 -
SpringBoot的基本概念
文章目录约定优于配置SpringBoot概念Spring的优缺点分析SpringBoot解决上述Spring问题热部署约定优于配置Build Anything with Spring Boot:Spring Boot is the starting point for building all Spring-based applications. Spring Boot is designed to get you up and running as quickly as possible, with原创 2021-08-27 12:16:24 · 919 阅读 · 0 评论