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

jdk兼容性有问题 #152

Closed
ghx577 opened this issue Mar 22, 2022 · 0 comments
Closed

jdk兼容性有问题 #152

ghx577 opened this issue Mar 22, 2022 · 0 comments
Assignees
Milestone

Comments

@ghx577
Copy link

ghx577 commented Mar 22, 2022

都是jdk1.8
jdk 存在不兼容的情况,
image

环境下启动正常,
image

这版本下 启动成功,但是登录的时候报错

2022-03-22 09:39:46.483 ERROR Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Filter execution threw an exception] with root causejava.lang.NoClassDefFoundError: javax/xml/bind/DatatypeConverter
at io.jsonwebtoken.impl.Base64Codec.decode(Base64Codec.java:26)
at io.jsonwebtoken.impl.DefaultJwtBuilder.signWith(DefaultJwtBuilder.java:99)
at cn.hippo4j.auth.toolkit.JwtTokenUtil.createToken(JwtTokenUtil.java:59)
at cn.hippo4j.auth.filter.JWTAuthenticationFilter.successfulAuthentication(JWTAuthenticationFilter.java:81)
at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:240)

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

2 participants