Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spring Boot 3.1.4 使用的时候报错 java.lang.NoSuchMethodError: 'java.lang.Long redis.clients.jedis.Jedis.del(byte[])' #168

Open
indiff opened this issue Sep 25, 2023 · 5 comments

Comments

@indiff
Copy link

indiff commented Sep 25, 2023

图片

jedis 版本 4.3.2

@wangwufan
Copy link

同样的问题

@hua7073
Copy link

hua7073 commented Jan 22, 2024

有解决方案吗

@wangwufan
Copy link

wangwufan commented Jan 22, 2024

我把它内嵌的jedis替换掉就好了

<dependency>
            <groupId>redis.clients</groupId>
            <artifactId>jedis</artifactId>
            <version>3.10.0</version>
        </dependency>
<dependency>
  <groupId>org.crazycake</groupId>
  <artifactId>shiro-redis</artifactId>
  <version>3.3.1</version>
  <exclusions>
      <exclusion>
          <groupId>org.apache.shiro</groupId>
          <artifactId>shiro-core</artifactId>
      </exclusion>
      <exclusion>
          <groupId>redis.clients</groupId>
          <artifactId>jedis</artifactId>
      </exclusion>
  </exclusions>
</dependency>

@ilaotan
Copy link
Contributor

ilaotan commented Jul 23, 2024

5.x的jedis好像只能改仓库代码了 https://github.com/ilaotan/shiro-redis/tree/jedis5

@llllllxy
Copy link

llllllxy commented Aug 1, 2024

自己更新提升jedis的版本

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants