【问题标题】:Unable to load class named [io.jsonwebtoken.io.JacksonSerializer] from the thread context, current, or system/application无法从线程上下文、当前或系统/应用程序加载名为 [io.jsonwebtoken.io.JacksonSerializer] 的类
【发布时间】:2020-08-22 13:35:57
【问题描述】:

我从邮递员登录到 spring-boot 应用程序时收到此错误消息。我使用 JWT webtoken 进行身份验证和授权。请帮忙。

【问题讨论】:

    标签: spring-boot jpa jwt jjwt


    【解决方案1】:

    检查您的 pom.xml

    要添加的依赖项 - jjwt-api 版本 0.11.2 , jjwt-impl 版本 0.11.2 , jjwt-jackson 版本 0.11.2

    来自https://mvnrepository.com 添加它们的最新版本对我来说效果很好。

    【讨论】:

      猜你喜欢
      • 2021-12-14
      • 1970-01-01
      • 1970-01-01
      • 2021-07-27
      • 2018-12-25
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多