![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Spring-Boot
不会射雕的靖哥哥
花落知多少
展开
-
No Spring Session store is configured: set the ‘spring.session.store-type‘ property
springboot2.0以上版本需新增配置有用redis的配置redisspring: session: store-type: redis没有用到的配置nonespring: session: store-type: none原创 2020-09-30 11:02:46 · 186 阅读 · 0 评论 -
springboot作为依赖包 供其它项目使用 整合出现的问题
一.springboot依赖包打包问题将pom.xml中的配置改为 如下所示<build> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> &原创 2020-06-18 18:20:12 · 930 阅读 · 0 评论 -
springboot加载过滤器动态控制开关
项目加载过滤器后 想要通过配置文件 来动态控制过滤器是否加载 需通过registrationBean.setEnabled(false)方法实现 如图所示false 为关闭 true为开启 默认true原创 2020-05-14 14:42:33 · 1474 阅读 · 0 评论 -
Spring-boot简单日志配置说明
在对spring-boot时进行日志配置时 发生了一个无语的坑 特此记录因为spring-boot自带日志功能 所以在yml中配置一下就可以了 appliaction.yml中加入file:log\log.log代码中 加入log.info运行控制台打印 看下项目目录 已经自动生成了 但是一开始是不成功的 当我配置了f...原创 2018-07-25 18:05:41 · 1138 阅读 · 0 评论