spring - 我找不到代码示例的 Maven 依赖项: Keys.hmacShaKeyFor(...);
问题描述
我想获得此代码示例的 Maven 依赖关系:
Keys.hmacShaKeyFor(signingKeySecret.getBytes());
通常我应该处于这种依赖状态,但它似乎不存在:
<dependency>
<groupId>io.jsonwebtoken</groupId>
<artifactId>jjwt</artifactId>
<version>0.9.1</version>
</dependency>
有谁知道它在哪里?
谢谢
解决方案
它是一部分jjwt-impl
<dependency>
<groupId>io.jsonwebtoken</groupId>
<artifactId>jjwt-impl</artifactId>
<version>0.11.2</version>
</dependency>
推荐阅读
- php - 可以用条件调用函数吗?
- r - R 数学运算 NA 值
- javascript - 使用 ajax javascript 显示数据库中的数据
- javascript - 使用 Chrome 扩展内容脚本注入 Angular 8 应用程序
- ios - Swift Combine - 按给定顺序执行任务
- ray - 发出本地集群错误 - 无法设置终端进程组
- ios - .obj 模型的大小可以调整(scenekit)
- java - 检查来自另一个类 java 的登录系统的列表元素
- c# - 在组合框中选择并显示 datagridwiev
- javascript - addEventListeners 中未调用函数