错误创建对象,因为使用了分布式锁,通过feign调用时,并未启动响应的调用者模块,导致没有加入redis,加入redis相关依赖即可
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2020-12-21 11:03:01.346 ERROR 24344 --- [ main] o.s.boot.SpringApplication : Application run failed
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'redsiLockAspect': Unsatisfied dependency expressed through field 'simpleRedisLock'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'simpleRedisLock' defined in file [C:\Users\zero\Desktop\qmp-cloud\qmp-cloud\t-qmp-common\target\classes\com\qmp\common\lock\SimpleRedisLock.class]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: org/springframework/data/redis/core/script/DefaultRedisScript
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:643) ~[spring-beans-5.2.10.RELEASE.jar:5.2.10.RELEASE]
Process finished with exit code 1