org.springframework.web.util.NestedServletException: Handler processing failed; nested exception is java.lang.NoClassDefFoundError: org/apache/jasper/runtime/JspSourceImports

Stack Overflow | Programmer 400 | 9 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to poroszd and Rafael Fischer Viola . Or join the community to write better ones.
  1. 0

    Gradle + Spring Boot + Jetty + JSP fails

    Stack Overflow | 9 months ago | Programmer 400
    org.springframework.web.util.NestedServletException: Handler processing failed; nested exception is java.lang.NoClassDefFoundError: org/apache/jasper/runtime/JspSourceImports
  2. 0

    Gradle + Spring Boot + Jetty + JSP fails

    codegur.com | 8 months ago
    org.springframework.web.util.NestedServletException: Handler processing failed; nested exception is java.lang.NoClassDefFoundError: org/apache/jasper/runtime/JspSourceImports
  3. 0

    Gradle + Spring Boot + Jetty + JSP fails - heapoverflow.me

    heapoverflow.me | 8 months ago
    org.springframework.web.util.NestedServletException: Handler processing failed; nested exception is java.lang.NoClassDefFoundError: org/apache/jasper/runtime/JspSourceImports
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    samebug tip
    A few things cause this exception: 1) Check if you have all jars and if they're in the correct path when running. 2) Your classpath might be broken, you can define it in the command line with "java -cp yourClassPath" or at your IDE if you're using one.

  1. osvzs 4 times, last 1 week ago
  2. olle.hallin 3 times, last 6 days ago
  3. rp 1 times, last 2 weeks ago
  4. Dunmer 1 times, last 3 weeks ago
  5. poroszd 1 times, last 3 weeks ago
78 more registered users
17 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.ClassNotFoundException

    org.apache.jasper.runtime.JspSourceImports

    at java.net.URLClassLoader.findClass()
  2. Java RT
    ClassLoader.loadClass
    1. java.net.URLClassLoader.findClass(URLClassLoader.java:381)[na:1.8.0_91]
    2. java.lang.ClassLoader.loadClass(ClassLoader.java:424)[na:1.8.0_91]
    3. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)[na:1.8.0_91]
    4. java.lang.ClassLoader.loadClass(ClassLoader.java:357)[na:1.8.0_91]
    4 frames
  3. GWT dev
    JasperLoader.loadClass
    1. org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:187)[javax.servlet.jsp-2.3.2.jar:2.3.2]
    2. org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:125)[javax.servlet.jsp-2.3.2.jar:2.3.2]
    2 frames
  4. Java RT
    ClassLoader.defineClass
    1. java.lang.ClassLoader.defineClass1(Native Method)[na:1.8.0_91]
    2. java.lang.ClassLoader.defineClass(ClassLoader.java:763)[na:1.8.0_91]
    3. java.lang.ClassLoader.defineClass(ClassLoader.java:642)[na:1.8.0_91]
    3 frames
  5. GWT dev
    JspServlet.service
    1. org.apache.jasper.servlet.JasperLoader.findClass(JasperLoader.java:232)[javax.servlet.jsp-2.3.2.jar:2.3.2]
    2. org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:193)[javax.servlet.jsp-2.3.2.jar:2.3.2]
    3. org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:125)[javax.servlet.jsp-2.3.2.jar:2.3.2]
    4. org.apache.jasper.JspCompilationContext.load(JspCompilationContext.java:656)[javax.servlet.jsp-2.3.2.jar:2.3.2]
    5. org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:202)[javax.servlet.jsp-2.3.2.jar:2.3.2]
    6. org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)[javax.servlet.jsp-2.3.2.jar:2.3.2]
    7. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:473)[javax.servlet.jsp-2.3.2.jar:2.3.2]
    8. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:377)[javax.servlet.jsp-2.3.2.jar:2.3.2]
    8 frames
  6. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:790)[javax.servlet-api-3.1.0.jar:3.1.0]
    1 frame
  7. Jetty
    ServletHandler$CachedChain.doFilter
    1. org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812)[jetty-servlet-9.2.17.v20160517.jar:9.2.17.v20160517]
    2. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)[jetty-servlet-9.2.17.v20160517.jar:9.2.17.v20160517]
    2 frames
  8. Spring
    OncePerRequestFilter.doFilter
    1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:101)[spring-web-4.2.7.RELEASE.jar:4.2.7.RELEASE]
    1 frame
  9. Jetty
    ServletHandler$CachedChain.doFilter
    1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)[jetty-servlet-9.2.17.v20160517.jar:9.2.17.v20160517]
    1 frame
  10. Spring
    OncePerRequestFilter.doFilter
    1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:101)[spring-web-4.2.7.RELEASE.jar:4.2.7.RELEASE]
    1 frame
  11. Jetty
    ServletHandler$CachedChain.doFilter
    1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)[jetty-servlet-9.2.17.v20160517.jar:9.2.17.v20160517]
    1 frame
  12. Spring
    OncePerRequestFilter.doFilter
    1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:101)[spring-web-4.2.7.RELEASE.jar:4.2.7.RELEASE]
    1 frame
  13. Jetty
    ServletHandler$CachedChain.doFilter
    1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)[jetty-servlet-9.2.17.v20160517.jar:9.2.17.v20160517]
    1 frame
  14. Spring
    OncePerRequestFilter.doFilter
    1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:101)[spring-web-4.2.7.RELEASE.jar:4.2.7.RELEASE]
    1 frame
  15. Jetty
    ServletHandler$CachedChain.doFilter
    1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)[jetty-servlet-9.2.17.v20160517.jar:9.2.17.v20160517]
    1 frame
  16. Spring
    OncePerRequestFilter.doFilter
    1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:101)[spring-web-4.2.7.RELEASE.jar:4.2.7.RELEASE]
    1 frame
  17. Jetty
    ServletHandler$CachedChain.doFilter
    1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)[jetty-servlet-9.2.17.v20160517.jar:9.2.17.v20160517]
    1 frame
  18. Spring
    OncePerRequestFilter.doFilter
    1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:101)[spring-web-4.2.7.RELEASE.jar:4.2.7.RELEASE]
    1 frame
  19. Jetty
    ServletHandler$CachedChain.doFilter
    1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)[jetty-servlet-9.2.17.v20160517.jar:9.2.17.v20160517]
    1 frame
  20. Spring
    OncePerRequestFilter.doFilter
    1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:101)[spring-web-4.2.7.RELEASE.jar:4.2.7.RELEASE]
    1 frame
  21. Jetty
    Dispatcher.forward
    1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)[jetty-servlet-9.2.17.v20160517.jar:9.2.17.v20160517]
    2. org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)[jetty-servlet-9.2.17.v20160517.jar:9.2.17.v20160517]
    3. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)[jetty-server-9.2.17.v20160517.jar:9.2.17.v20160517]
    4. org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:595)[jetty-security-9.2.17.v20160517.jar:9.2.17.v20160517]
    5. org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)[jetty-server-9.2.17.v20160517.jar:9.2.17.v20160517]
    6. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)[jetty-server-9.2.17.v20160517.jar:9.2.17.v20160517]
    7. org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)[jetty-servlet-9.2.17.v20160517.jar:9.2.17.v20160517]
    8. org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)[jetty-server-9.2.17.v20160517.jar:9.2.17.v20160517]
    9. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)[jetty-server-9.2.17.v20160517.jar:9.2.17.v20160517]
    10. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)[jetty-server-9.2.17.v20160517.jar:9.2.17.v20160517]
    11. org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:191)[jetty-server-9.2.17.v20160517.jar:9.2.17.v20160517]
    12. org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:72)[jetty-server-9.2.17.v20160517.jar:9.2.17.v20160517]
    12 frames
  22. Spring MVC
    FrameworkServlet.doGet
    1. org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:168)[spring-webmvc-4.2.7.RELEASE.jar:4.2.7.RELEASE]
    2. org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:303)[spring-webmvc-4.2.7.RELEASE.jar:4.2.7.RELEASE]
    3. org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1246)[spring-webmvc-4.2.7.RELEASE.jar:4.2.7.RELEASE]
    4. org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1029)[spring-webmvc-4.2.7.RELEASE.jar:4.2.7.RELEASE]
    5. org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:973)[spring-webmvc-4.2.7.RELEASE.jar:4.2.7.RELEASE]
    6. org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:895)[spring-webmvc-4.2.7.RELEASE.jar:4.2.7.RELEASE]
    7. org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:967)[spring-webmvc-4.2.7.RELEASE.jar:4.2.7.RELEASE]
    8. org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:858)[spring-webmvc-4.2.7.RELEASE.jar:4.2.7.RELEASE]
    8 frames
  23. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:687)[javax.servlet-api-3.1.0.jar:3.1.0]
    1 frame
  24. Spring MVC
    FrameworkServlet.service
    1. org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:843)[spring-webmvc-4.2.7.RELEASE.jar:4.2.7.RELEASE]
    1 frame
  25. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:790)[javax.servlet-api-3.1.0.jar:3.1.0]
    1 frame
  26. Jetty
    ServletHandler$CachedChain.doFilter
    1. org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812)[jetty-servlet-9.2.17.v20160517.jar:9.2.17.v20160517]
    2. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)[jetty-servlet-9.2.17.v20160517.jar:9.2.17.v20160517]
    3. org.eclipse.jetty.websocket.server.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:224)[websocket-server-9.2.17.v20160517.jar:9.2.17.v20160517]
    4. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)[jetty-servlet-9.2.17.v20160517.jar:9.2.17.v20160517]
    4 frames
  27. Spring Boot Actuator
    EndpointWebMvcAutoConfiguration$ApplicationContextHeaderFilter.doFilterInternal
    1. org.springframework.boot.actuate.autoconfigure.EndpointWebMvcAutoConfiguration$ApplicationContextHeaderFilter.doFilterInternal(EndpointWebMvcAutoConfiguration.java:281)[spring-boot-actuator-1.3.6.RELEASE.jar:1.3.6.RELEASE]
    1 frame
  28. Spring
    OncePerRequestFilter.doFilter
    1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)[spring-web-4.2.7.RELEASE.jar:4.2.7.RELEASE]
    1 frame
  29. Jetty
    ServletHandler$CachedChain.doFilter
    1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)[jetty-servlet-9.2.17.v20160517.jar:9.2.17.v20160517]
    1 frame
  30. Spring Boot Actuator
    WebRequestTraceFilter.doFilterInternal
    1. org.springframework.boot.actuate.trace.WebRequestTraceFilter.doFilterInternal(WebRequestTraceFilter.java:115)[spring-boot-actuator-1.3.6.RELEASE.jar:1.3.6.RELEASE]
    1 frame
  31. Spring
    OncePerRequestFilter.doFilter
    1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)[spring-web-4.2.7.RELEASE.jar:4.2.7.RELEASE]
    1 frame
  32. Jetty
    ServletHandler$CachedChain.doFilter
    1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)[jetty-servlet-9.2.17.v20160517.jar:9.2.17.v20160517]
    1 frame
  33. Spring
    OncePerRequestFilter.doFilter
    1. org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)[spring-web-4.2.7.RELEASE.jar:4.2.7.RELEASE]
    2. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)[spring-web-4.2.7.RELEASE.jar:4.2.7.RELEASE]
    2 frames
  34. Jetty
    ServletHandler$CachedChain.doFilter
    1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)[jetty-servlet-9.2.17.v20160517.jar:9.2.17.v20160517]
    1 frame
  35. Spring
    OncePerRequestFilter.doFilter
    1. org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:87)[spring-web-4.2.7.RELEASE.jar:4.2.7.RELEASE]
    2. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)[spring-web-4.2.7.RELEASE.jar:4.2.7.RELEASE]
    2 frames
  36. Jetty
    ServletHandler$CachedChain.doFilter
    1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)[jetty-servlet-9.2.17.v20160517.jar:9.2.17.v20160517]
    1 frame
  37. Spring
    OncePerRequestFilter.doFilter
    1. org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:77)[spring-web-4.2.7.RELEASE.jar:4.2.7.RELEASE]
    2. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)[spring-web-4.2.7.RELEASE.jar:4.2.7.RELEASE]
    2 frames
  38. Jetty
    ServletHandler$CachedChain.doFilter
    1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)[jetty-servlet-9.2.17.v20160517.jar:9.2.17.v20160517]
    1 frame
  39. Spring
    OncePerRequestFilter.doFilter
    1. org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:121)[spring-web-4.2.7.RELEASE.jar:4.2.7.RELEASE]
    2. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)[spring-web-4.2.7.RELEASE.jar:4.2.7.RELEASE]
    2 frames
  40. Jetty
    ServletHandler$CachedChain.doFilter
    1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)[jetty-servlet-9.2.17.v20160517.jar:9.2.17.v20160517]
    1 frame
  41. Spring Boot Actuator
    MetricsFilter.doFilterInternal
    1. org.springframework.boot.actuate.autoconfigure.MetricsFilter.doFilterInternal(MetricsFilter.java:103)[spring-boot-actuator-1.3.6.RELEASE.jar:1.3.6.RELEASE]
    1 frame
  42. Spring
    OncePerRequestFilter.doFilter
    1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)[spring-web-4.2.7.RELEASE.jar:4.2.7.RELEASE]
    1 frame
  43. Jetty
    QueuedThreadPool$3.run
    1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)[jetty-servlet-9.2.17.v20160517.jar:9.2.17.v20160517]
    2. org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)[jetty-servlet-9.2.17.v20160517.jar:9.2.17.v20160517]
    3. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)[jetty-server-9.2.17.v20160517.jar:9.2.17.v20160517]
    4. org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)[jetty-security-9.2.17.v20160517.jar:9.2.17.v20160517]
    5. org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)[jetty-server-9.2.17.v20160517.jar:9.2.17.v20160517]
    6. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)[jetty-server-9.2.17.v20160517.jar:9.2.17.v20160517]
    7. org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)[jetty-servlet-9.2.17.v20160517.jar:9.2.17.v20160517]
    8. org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)[jetty-server-9.2.17.v20160517.jar:9.2.17.v20160517]
    9. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)[jetty-server-9.2.17.v20160517.jar:9.2.17.v20160517]
    10. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)[jetty-server-9.2.17.v20160517.jar:9.2.17.v20160517]
    11. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)[jetty-server-9.2.17.v20160517.jar:9.2.17.v20160517]
    12. org.eclipse.jetty.server.Server.handle(Server.java:499)[jetty-server-9.2.17.v20160517.jar:9.2.17.v20160517]
    13. org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)[jetty-server-9.2.17.v20160517.jar:9.2.17.v20160517]
    14. org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)[jetty-server-9.2.17.v20160517.jar:9.2.17.v20160517]
    15. org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)[jetty-io-9.2.17.v20160517.jar:9.2.17.v20160517]
    16. org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)[jetty-util-9.2.17.v20160517.jar:9.2.17.v20160517]
    17. org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)[jetty-util-9.2.17.v20160517.jar:9.2.17.v20160517]
    17 frames
  44. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)[na:1.8.0_91]
    1 frame