
- - Spring
文章平均质量分 57
一只努力xx的程序媛
努力学习
展开
-
接口报错500InvalidPropertyException: Invalid property ‘xxx[256]‘,@InitBinder的使用
从报错可以看到,前端传入参数个数大于256个,后端使用List接参,超出数组大小限制。原创 2024-09-24 17:32:37 · 808 阅读 · 0 评论 -
SLF4J: Found binding in [jar:file:activemq-all-5.11.1.jar/org/slf4j/impl/StaticLoggerBinder.class]
错误警告如下,导致log4j2不生效,无法打印日志SLF4J: Class path contains multiple SLF4J bindings.SLF4J: Found binding in [jar:file:/D:/workspace3/demo/target/demo/WEB-INF/lib/activemq-all-5.11.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]SLF4J: Found binding in [jar:file:原创 2021-11-09 18:43:34 · 2092 阅读 · 0 评论 -
AOP中的JoinPoint、ProceedingJoinPoint
1.JoinPoint@AfterReturning("execution(* com..*.*Mapper.update*(..))|| execution(* com..*.*Mapper.insert*(..))" + " || execution(* com..*.*Mapper.add*(..))") public int afterAddAndUpdate(JoinPoint joinPoint){ try { String declaringTypeName = joinP原创 2021-11-01 17:03:08 · 3034 阅读 · 0 评论 -
Spring Cloud核心组件的理解
原文:https://mp.weixin.qq.com/s/o8fNo1K_hhId-WZE1rjJBA上述文章中,简明扼要地讲述了spring cloud中五大核心组件Eureka、Ribbon、Feign、Hystrix、Zuul的功能和使用场景,我看完后感觉收获很多,所以在这里记录一下。Eureka是微服务架构中的注册中心,专门负责服务的注册与发现。Eureka Client组件专门负...转载 2018-12-06 14:19:59 · 2227 阅读 · 0 评论