自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 收藏
  • 关注

原创 WARN o.s.c.l.c.LoadBalancerCacheAutoConfiguration$LoadBalancerCaffeineWarnLogger - [LoadBalancerCa

项目启动报标题警告,通过添加依赖: 得到解决:

2022-06-24 09:21:11 519 1

原创 Disconnected from the target VM, address: ‘127.0.0.1:61465‘, transport: ‘socket‘

debug启动报这个错误,一直以为网上那些原因引起的,例如端口占用,类同名等等。其实只要仔细往上找找就会发现:原来是注册不上去,通过百度,在pom文件中增加:<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId></dependency> 重新启动,解决了。...

2022-06-23 22:32:31 1327 1

原创 redis分布式锁

没有图片

2022-04-16 20:48:40 563

原创 import注解原理分析

AnnotationConfigApplicationContext applicationContext = new AnnotationConfigApplicationContext(AppConfig.class); UserService userService = (UserService) applicationContext.getBean("com.zhouyu.service.UserService"); userService.test();为什么bean的名字..

2022-04-11 11:44:16 193

原创 Class path contains multiple SLF4J bindings

项目启动的时候报错:Connected to the target VM, address: '127.0.0.1:60585', transport: 'socket'SLF4J: Class path contains multiple SLF4J bindings.SLF4J: Found binding in [jar:file:/D:/repository/org/slf4j/slf4j-simple/1.7.26/slf4j-simple-1.7.26.jar!/org/slf4j/i

2020-08-02 11:05:47 523

原创 @Conditional条件装配原理

@Conditional条件装配是spring4引入的新特性,与@profile类似(偏向于静态激活和配置),而@Conditional关注与运行时的动态选择。API如下:@Target({ElementType.TYPE, ElementType.METHOD})@Retention(RetentionPolicy.RUNTIME)@Documentedpublic @interfa...

2020-03-08 08:38:02 270

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

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