自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(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关注的人

提示
确定要删除当前文章?
取消 删除