javax.servlet.ServletException: Circular view path [error]: would dispatch back to the current handler URL [/approot/error] again. Check your ViewResolver setup! (Hint: This may be the result of an unspecified view, due to default view name generation.)

tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Swagger 2 integration with Spring boot application

    Stack Overflow | 9 months ago | Krishna Kuntala
    javax.servlet.ServletException: Circular view path [error]: would dispatch back to the current handler URL [/approot/error] again. Check your ViewResolver setup! (Hint: This may be the result of an unspecified view, due to default view name generation.)
  2. 0

    Can't resolve views when running War

    GitHub | 1 year ago | bobbywarner
    javax.servlet.ServletException: Could not resolve view with name '/error' in servlet with name 'grailsDispatcherServlet'
  3. 0

    After creating a app with profile angular error 404 is missing a proper error page

    GitHub | 1 year ago | bond-
    javax.servlet.ServletException: Could not resolve view with name '/application/notFound' in servlet with name 'grailsDispatcherServlet'
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Turning off Spring Boot whitelabel triggers a circular view path error

    GitHub | 1 year ago | izeye
    javax.servlet.ServletException: Circular view path [error]: would dispatch back to the current handler URL [/error] again. Check your ViewResolver setup! (Hint: This may be the result of an unspecified view, due to default view name generation.)
  6. 0

    Sending HTML data through AJAX using Spring MVC

    Stack Overflow | 4 years ago | ATOzTOA
    javax.servlet.ServletException: Could not resolve view with name 'getData' in servlet with name 'spring'

  1. WoodenDoors 3 times, last 1 year ago
  2. tomthomas 116 times, last 3 weeks ago
  3. treefolk 14 times, last 3 months ago
  4. Luka 8 times, last 7 months ago
  5. dafman 4 times, last 7 months ago
1 more registered users
23 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. javax.servlet.ServletException

    Circular view path [error]: would dispatch back to the current handler URL [/approot/error] again. Check your ViewResolver setup! (Hint: This may be the result of an unspecified view, due to default view name generation.)

    at org.springframework.web.servlet.view.InternalResourceView.prepareForRendering()
  2. Spring MVC
    FrameworkServlet.doGet
    1. org.springframework.web.servlet.view.InternalResourceView.prepareForRendering(InternalResourceView.java:205)
    2. org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:145)
    3. org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:303)
    4. org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1228)
    5. org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1011)
    6. org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:955)
    7. org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:877)
    8. org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:966)
    9. org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:857)
    9 frames
  3. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:618)
    1 frame
  4. Spring MVC
    FrameworkServlet.service
    1. org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:842)
    1 frame
  5. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
    1 frame
  6. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    3. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:721)
    4. org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:468)
    5. org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391)
    6. org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318)
    7. org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:433)
    8. org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:299)
    9. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:176)
    10. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
    11. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
    12. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:537)
    12 frames
  7. Grizzly HTTP
    NioEndpoint$SocketProcessor.run
    1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1085)
    2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:658)
    3. org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:222)
    4. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1556)
    5. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1513)
    5 frames
  8. Java RT
    ThreadPoolExecutor$Worker.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    2 frames
  9. Tomcat Util
    TaskThread$WrappingRunnable.run
    1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
    1 frame
  10. Java RT
    Thread.run
    1. java.lang.Thread.run(Unknown Source)
    1 frame