![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java遇到的问题
zhu_kc
这个作者很懒,什么都没留下…
展开
-
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 阅读 · 0 评论 -
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 阅读 · 0 评论 -
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 评论