-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
sa-token 集成 jwt 报错 #433
Comments
详细错误信息 java.util.jar.JarException: file:/C:/Users/HY/.m2/repository/org/apache/pdfbox/pdfbox-app/2.0.25/pdfbox-app-2.0.25.jar has unsigned entries - org/apache/commons/logging/Log.class |
环境:java8 |
这个异常来自hutool, 我并不熟悉, 经查此异常多与jdk版本有关, 建议确认一下运行环境是否为8以上 |
使用版本:
1.34.0
报错信息:
StpUtil.login()报错
java.util.jar.JarException: file:/C:/Users/HY/.m2/repository/org/apache/pdfbox/pdfbox-app/2.0.25/pdfbox-app-2.0.25.jar has unsigned entries - org/apache/commons/logging/Log.class
at javax.crypto.JarVerifier.verifySingleJar(JarVerifier.java:510)
希望结果:
生成token
复现步骤:
pom加入sa-token-spring-boot-starter和sa-token-jwt,config配置StpLogicJwtForSimple
< 备注:如果复现步骤比较复杂,请将 demo 上传到 gitee 并留下地址 >
The text was updated successfully, but these errors were encountered: