- 博客(3)
- 收藏
- 关注
原创 springboot中多个security配置生效的问题
当前模块的配置文件A@EnableGlobalMethodSecurity(prePostEnabled = true, securedEnabled = true)public class SecurityConfig extends WebSecurityConfigurerAdapter{System.out.println("配置A");…………}重写引用模块的配置文件B@Configuration(proxyBeanMethods = false)@EnableWebS
2021-11-12 21:35:29 1093
原创 idea+Tomcat出现乱码的问题
1.页面中存在乱码,需要对Tomcat进行设置在vm options中设置-Dfile.encoding=UTF-82.idea中工作台的日志有乱码需要对idea进行设置这个目录在系统盘/用户/用户名/一个idea的目录/config中的idea64.exe.vmoptions例如我的目录是这样的C:\Users\Administrator\.IntelliJIdea2018.2\config\idea64.exe.vmoptions最后新添一行-Dfile.encodin.
2020-07-16 14:36:36 107
原创 spring boot搭建jedis出错Could not get a resource from the pool
这是yml中的redis的配置redis: host: localhost port: 6379 password: jedis: pool: max-total: 500 max-wait: 10000 max-idle: 100 min-idle: 8 timeout: 300 block-when-exhausted: true这是代码中创建的bean@Bea..
2020-06-12 16:30:56 963 1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人