当我运行我的应用程序时,我收到此错误。我使用Spring-Boot版本2.0.2.RELEASE。任何人都可以帮助我吗?
java.lang.NoSuchMethodError:org.springframework.data.redis.core.RedisOperations.delete(Ljava / lang / Object;)V 在org.springframework.session.data.redis.RedisSessionExpirationPolicy.cleanExpiredSessions(RedisSessionExpirationPolicy.java:132)〜[spring-session-1.3.1.RELEASE.jar:na] 在org.springframework.session.data.redis.RedisOperationsSessionRepository.cleanupExpiredSessions(RedisOperationsSessionRepository.java:398)〜[spring-session-1.3.1.RELEASE.jar:na] at sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)〜[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)〜[na:1.8.0_172] 在java.lang.reflect.Method.invoke(Method.java:498)〜[na:1.8.0_172] 在org.springframework.scheduling.support.ScheduledMethodRunnable.run(ScheduledMethodRunnable.java:65)〜[spring-context-5.0.6.RELEASE.jar:5.0.6.RELEASE] 在org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)〜[spring-context-5.0.6.RELEASE.jar:5.0.6.RELEASE] 在org.springframework.scheduling.concurrent.ReschedulingRunnable.run(ReschedulingRunnable.java:93)[spring-context-5.0.6.RELEASE.jar:5.0.6.RELEASE] at java.util.concurrent.Executors $ RunnableAdapter.call(Executors.java:511)[na:1.8.0_172] at java.util.concurrent.FutureTask.run(FutureTask.java:266)[na:1.8.0_172] at java.util.concurrent.ScheduledThreadPoolExecutor $ ScheduledFutureTask.access $ 201(ScheduledThreadPoolExecutor.java:180)[na:1.8.0_172] at java.util.concurrent.ScheduledThreadPoolExecutor $ ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[na:1.8.0_172] 在java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)[na:1.8.0_172] at java.util.concurrent.ThreadPoolExecutor $ Worker.run(ThreadPoolExecutor.java:624)[na:1.8.0_172] 在java.lang.Thread.run(Thread.java:748)[na:1.8.0_172]