lock4j icon indicating copy to clipboard operation
lock4j copied to clipboard

启动时异常:executors must have at least one

Open chn-maich opened this issue 6 months ago • 0 comments

版本: <!-- 若使用redisson作为分布式锁底层,则需要引入 --> <dependency> <groupId>com.baomidou</groupId> <artifactId>lock4j-redisson-spring-boot-starter</artifactId> <version>2.2.5</version> </dependency>

异常: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'lockTemplate' defined in class path resource [com/baomidou/lock/spring/boot/autoconfigure/LockAutoConfiguration.class]: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: executors must have at least one

chn-maich avatar Aug 21 '24 09:08 chn-maich