Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Filtered request failed.] with root cause


应该是jdk版本不兼容,jdk11改成jdk1.8

2022-03-31 13:31:14.732 ERROR 59264 --- [nio-8081-exec-2] o.a.c.c.C.[.[.[/].[dispatcherServlet]    : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Filtered request failed.] with root causejava.lang.ClassNotFoundException: javax.xml.bind.DatatypeConverterat java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581) ~[na:na]at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178) ~[na:na]at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522) ~[na:na]at io.jsonwebtoken.impl.Base64Codec.decode(Base64Codec.java:26) ~[jjwt-0.9.1.jar:0.9.1]at io.jsonwebtoken.impl.DefaultJwtParser.setSigningKey(DefaultJwtParser.java:151) ~[jjwt-0.9.1.jar:0.9.1]at com.markerhub.util.JwtUtils.getClaimByToken(JwtUtils.java:46) ~[classes/:na]at com.markerhub.shiro.JwtFilter.onAccessDenied(JwtFilter.java:51) ~[classes/:na]at org.apache.shiro.web.filter.AccessControlFilter.onAccessDenied(AccessControlFilter.java:133) ~[shiro-web-1.4.0-RC2.jar:1.4.0-RC2]at org.apache.shiro.web.filter.AccessControlFilter.onPreHandle(AccessControlFilter.java:162) ~[shiro-web-1.4.0-RC2.jar:1.4.0-RC2]at org.apache.shiro.web.filter.PathMatchingFilter.isFilterChainContinued(PathMatchingFilter.java:203) ~[shiro-web-1.4.0-RC2.jar:1.4.0-RC2]at org.apache.shiro.web.filter.PathMatchingFilter.preHandle(PathMatchingFilter.java:178) ~[shiro-web-1.4.0-RC2.jar:1.4.0-RC2]at com.markerhub.shiro.JwtFilter.preHandle(JwtFilter.java:92) ~[classes/:na]at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:131) ~[shiro-web-1.4.0-RC2.jar:1.4.0-RC2]at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) ~[shiro-web-1.4.0-RC2.jar:1.4.0-RC2]at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) ~[shiro-web-1.4.0-RC2.jar:1.4.0-RC2]at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449) ~[shiro-web-1.4.0-RC2.jar:1.4.0-RC2]at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365) ~[shiro-web-1.4.0-RC2.jar:1.4.0-RC2]at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) ~[shiro-core-1.3.2.jar:1.3.2]at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) ~[shiro-core-1.3.2.jar:1.3.2]at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383) ~[shiro-core-1.3.2.jar:1.3.2]at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362) ~[shiro-web-1.4.0-RC2.jar:1.4.0-RC2]at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) ~[shiro-web-1.4.0-RC2.jar:1.4.0-RC2]at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.33.jar:9.0.33]at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.33.jar:9.0.33]at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) ~[spring-web-5.2.5.RELEASE.jar:5.2.5.RELEASE]at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) ~[spring-web-5.2.5.RELEASE.jar:5.2.5.RELEASE]at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.33.jar:9.0.33]at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.33.jar:9.0.33]at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) ~[spring-web-5.2.5.RELEASE.jar:5.2.5.RELEASE]at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) ~[spring-web-5.2.5.RELEASE.jar:5.2.5.RELEASE]at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.33.jar:9.0.33]at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.33.jar:9.0.33]at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) ~[spring-web-5.2.5.RELEASE.jar:5.2.5.RELEASE]at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) ~[spring-web-5.2.5.RELEASE.jar:5.2.5.RELEASE]at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.33.jar:9.0.33]at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.33.jar:9.0.33]at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202) ~[tomcat-embed-core-9.0.33.jar:9.0.33]at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) ~[tomcat-embed-core-9.0.33.jar:9.0.33]at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) ~[tomcat-embed-core-9.0.33.jar:9.0.33]at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) ~[tomcat-embed-core-9.0.33.jar:9.0.33]at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) ~[tomcat-embed-core-9.0.33.jar:9.0.33]at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) ~[tomcat-embed-core-9.0.33.jar:9.0.33]at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) ~[tomcat-embed-core-9.0.33.jar:9.0.33]at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:373) ~[tomcat-embed-core-9.0.33.jar:9.0.33]at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) ~[tomcat-embed-core-9.0.33.jar:9.0.33]at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) ~[tomcat-embed-core-9.0.33.jar:9.0.33]at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1594) ~[tomcat-embed-core-9.0.33.jar:9.0.33]at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) ~[tomcat-embed-core-9.0.33.jar:9.0.33]at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[na:na]at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[na:na]at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) ~[tomcat-embed-core-9.0.33.jar:9.0.33]at java.base/java.lang.Thread.run(Thread.java:834) ~[na:na]


成功!!!

人工智能学习网站,通俗易懂,风趣幽默,忍不住分享一下给大家。点击跳转到网站
https://www.captainai.net/shuai

Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception相关推荐

  1. Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request p

    今天在写springboot项目的时候遇到了这样一个问题,是有关注入的,报错信息如下 2020-04-07 16:24:42.675 ERROR 10384 --- [nio-8181-exec-1] ...

  2. Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Could not

    Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Could not ...

  3. Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Filtered

    首先报错内容 2021-11-27 17:28:54.955 ERROR 6668 --- [nio-7399-exec-1] o.a.c.c.C.[.[.[/].[dispatcherServlet ...

  4. Java项目运行报异:严重: Servlet.service() for servlet [e3-manager] in context with path [] threw exception [R

    Java项目中运行报错,错误如下: 严重: Servlet.service() for servlet [e3-manager] in context with path [] threw excep ...

  5. 严重: Servlet.service() for servlet [springmvc] in context with path [] threw exception [Request proce

    报错信息: 严重: Servlet.service() for servlet [springmvc] in context with path [] threw exception [Request ...

  6. Servlet.service() for servlet [jsp] in context with path [] threw exception [java.lang.LinkageError

    启动maven的web项目时报错: Servlet.service() for servlet [jsp] in context with path [] threw exception [java. ...

  7. Servlet.service() for servlet [jsp] in context with path [/ ] threw exception [An exception]解决办法

    踩坑随手记 最近在改之前做的一个课设,改着改着出问题了,而且是之前没出过的问题 eclipse报了个500(500大家都懂,铁打的500流水的报错)但是后面的服务器问题我是第一次见 console报的 ...

  8. 严重: Servlet.service() for servlet [jsp] in context with path [/maven_test7] threw exception [Unable

    严重: Servlet.service() for servlet [jsp] in context with path [/maven_test7] threw exception [Unable ...

  9. Servlet.service() for servlet [jsp] in context with path [/loginWeb_mvc] threw exception

    这个错误,一般是jsp页面中的某个对象没获取到后台传来值,导致空指针,注意下判空后使用等.其他的问题遇到了再总结到这里. 三月 06, 2020 3:36:27 下午 org.apache.catal ...

最新文章

  1. vivo手机计算机错误怎么弄,手机计算器出错,原因竟是人性化设计
  2. 什么是以太网?—Vecloud微云
  3. Maven实战:pom.xml与settings.xml
  4. 四十八、Python中的GUI布局tkinter
  5. ORACLE 数据库性能 与裸设备
  6. 设计模式之工厂模式(下篇)
  7. cannot find or load main class org.apache.flink.api.scala.FlinkShell
  8. city如何使用 mega unity_制作思路和CityEngine的简单使用
  9. C语言——反弹球游戏(第二阶段
  10. powershell XML操作
  11. 编程不需要天赋和激情
  12. linux性能监控常用命令
  13. Http请求之基于HttpUrlConnection,支持Header,Body传值,支持Multipart上传文件:
  14. 初用vue遇到的一些问题
  15. 中国天气网 城市代号
  16. 如何使用 Putty 以密钥 private key 的方式登录腾讯云主机
  17. 向大众推荐的字处理器,TEXMACS
  18. Python faker函数
  19. github登录+注册方法
  20. 卧槽,javaCV不到十行代码实现图片OCR文字识别

热门文章

  1. 怎么取消微信送票服务器,智行火车票如何关闭微信自动扣费服务 微信怎么关闭智行火车票自动扣费授权...
  2. Java迷你共享单车系统(面向对象作业)
  3. thinkphp图片集合
  4. XP计算机桌面锁定进不去,XP系统电脑进不了桌面怎么办
  5. uhs3内存卡有哪些_什么是UHS超高速SD卡?三代有什么区别
  6. 视觉数据集是基于物体和风景标记的巨大的图像库
  7. prf###.tmp临时文件导致磁盘资源不足
  8. 摄像头拍摄距离、镜头参数、物体大小之间的关系
  9. 机器学习--K近邻算法(KNN)(2)
  10. Hadoop笔记(1)——hdfs命令访问方式