![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
springboot
一夜十次郎
这个作者很懒,什么都没留下…
展开
-
springboot+shiro+jwt+mybatiesplus前后端分离项目快速入门(二,shiro入门)
springboot+shiro+jwt+mybatiesplus前后端分离项目快速入门,token验证原创 2023-03-07 16:17:03 · 272 阅读 · 2 评论 -
springboot+shiro+jwt+mybatiesplus前后端分离项目快速入门(一,项目搭建)
springboot+shiro+jwt+mybatiesplus前后端分离项目快速入门(一,项目搭建)原创 2023-03-07 10:13:56 · 288 阅读 · 2 评论 -
Property ‘sqlSessionFactory‘ or ‘sqlSessionTemplate‘ are required
Property 'sqlSessionFactory' or 'sqlSessionTemplate' are required原创 2022-11-14 10:55:44 · 693 阅读 · 0 评论 -
springboot注册拦截器后swagger冲突无法访问
springboot注册拦截器后swagger冲突无法访问: 由于拦截器会把所有请求都拦截下来,而swagger文档的页面资源和接口也会被拦截,因此再注册拦截器时需要将其排除.springboot版本和swagger依赖: <!--swagger--> <dependency> <groupId>com.github.xiaoymin</groupId>原创 2022-04-19 19:57:54 · 1760 阅读 · 0 评论 -
Required Long parameter is not present
尝试加 defaultValue =“null” 解决 @GetMapping("bindCoupon") public MethodResult bindCutoffCoupon(@RequestParam(defaultValue = "null") Long couponId, @RequestParam(defaultValue = "null") Long campaignId, @RequestParam(defaultValue = "null") Integer type) {原创 2021-12-20 14:25:31 · 6369 阅读 · 2 评论 -
Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:2.1.6.RELEASE:
Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:2.1.6.RELEASE:错误出现场景解决方案手动指定 spring-boot-maven-plugin 版本指定后再次打包运行:错误出现场景 在springboot项目中,使用spring-boot-maven-plugin插件打包时提示此错误,检查pom文件中插件配置如下:// spring-boot-maven-plugin <b原创 2021-12-15 10:15:01 · 1898 阅读 · 0 评论 -
SpringBoot+MyBatisPlus 自动填充字段 MetaObjectHandler 不生效问题 坑
SpringBoot+MyBatisPlus 自动填充字段 MetaObjectHandler 不生效问题 坑!场景复原:springboot项目,使用mybatis_plus记录mysql数据表记录插入,变更时间依赖:: <dependency> <groupId>com.baomidou</groupId> <artifactId>mybatis-plus-boot-starter<原创 2021-12-15 10:05:49 · 5556 阅读 · 7 评论 -
springboot读取yml文件中数组配置
1.yml文件配置shopcode: list: 2020,2021,2022 这样写无需写配置类读取,直接@value读取,中间用逗号隔开2.测试读取@SpringBootTest(classes = Application.class)@RunWith(SpringRunner.class)public class TestClass { @Value("${shopCode.list}") private String[] list; @Test原创 2021-11-02 17:57:28 · 1182 阅读 · 0 评论