使用jsonwebtoken出现如下错误
1 | Could not initialize class io.jsonwebtoken.impl.DefaultJwtBuilder |
原因,因为jackson-databindb版本冲突,直接去掉了依赖
jwt必须依赖Jackson所以报错了
出错时候的配置
1 | <dependency> |
解决办法
1 | <dependency> |
使用jsonwebtoken出现如下错误
1 | Could not initialize class io.jsonwebtoken.impl.DefaultJwtBuilder |
原因,因为jackson-databindb版本冲突,直接去掉了依赖
jwt必须依赖Jackson所以报错了
出错时候的配置
1 | <dependency> |
解决办法
1 | <dependency> |