Java 启动应用程序时出错

Java 启动应用程序时出错,java,spring-boot,redis,lettuce,Java,Spring Boot,Redis,Lettuce,我克隆了一个spring boot应用程序。当我开始运行应用程序时,出现以下错误。我的机器上安装了Java11 org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'application': Invocation of init method failed; nested exception is io.lettuce.core.dynamic.CommandMethodS

我克隆了一个spring boot应用程序。当我开始运行应用程序时,出现以下错误。我的机器上安装了Java11

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'application': Invocation of init method failed; nested exception is io.lettuce.core.dynamic.CommandMethodSyntaxException: Command SADD does not exist Offending method: public abstract java.lang.Long com.sbiremit.recos.cache.redis.RedisCommands.sadd(java.lang.String,java.lang.String...)
    at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:139) ~[spring-beans-5.1.8.RELEASE.jar:5.1.8.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:414) ~[spring-beans-5.1.8.RELEASE.jar:5.1.8.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1770) ~[spring-beans-5.1.8.RELEASE.jar:5.1.8.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593) ~[spring-beans-5.1.8.RELEASE.jar:5.1.8.RELEASE]
    at org.springfra
我试过安装多个版本的redis和java,但都没有效果。有谁能帮我澄清这个错误吗


提前谢谢

你好,石田,请,你必须提供更多的东西,以便进行测试。这还不够。