java.lang.IllegalArgumentException: ApplicationContext has not been initialized in resource resolver. TemplateResolver or ResourceResolver might not have been correctly configured by the Spring Application Context.

Stack Overflow | Fiftoine | 4 months ago
  1. 0

    Spring Boot - multiple template location

    Stack Overflow | 4 months ago | Fiftoine
    java.lang.IllegalArgumentException: ApplicationContext has not been initialized in resource resolver. TemplateResolver or ResourceResolver might not have been correctly configured by the Spring Application Context.
  2. 0
    Some bots are sending malformed HTTP requests to your site. Try to find their IP addresses in the access logs and ask them to fix the bots or blacklist them.
  3. 0
    URI part of the request contains invalid characters. You may try to encode the path from the URI. Check RFC7230 and RFC3986 documentation below. https://www.ietf.org/rfc/rfc3986.txt and https://tools.ietf.org/html/rfc7230
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    I was missing a partitioning column because I did not specify the "basePath" option on read

    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.IllegalArgumentException

      ApplicationContext has not been initialized in resource resolver. TemplateResolver or ResourceResolver might not have been correctly configured by the Spring Application Context.

      at org.thymeleaf.util.Validate.notNull()
    2. thymeleaf
      Validate.notNull
      1. org.thymeleaf.util.Validate.notNull(Validate.java:37)
      1 frame
    3. thymeleaf-spring4
      SpringResourceResourceResolver.getResourceAsStream
      1. org.thymeleaf.spring4.resourceresolver.SpringResourceResourceResolver.getResourceAsStream(SpringResourceResourceResolver.java:81)
      1 frame
    4. thymeleaf
      TemplateEngine.process
      1. org.thymeleaf.TemplateRepository.getTemplate(TemplateRepository.java:221)
      2. org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1104)
      3. org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1060)
      4. org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1011)
      4 frames
    5. thymeleaf-spring4
      ThymeleafView.render
      1. org.thymeleaf.spring4.view.ThymeleafView.renderFragment(ThymeleafView.java:335)
      2. org.thymeleaf.spring4.view.ThymeleafView.render(ThymeleafView.java:190)
      2 frames
    6. Spring MVC
      FrameworkServlet.doGet
      1. org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1257)
      2. org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1037)
      3. org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:980)
      4. org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:897)
      5. org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)
      6. org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:861)
      6 frames
    7. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
      1 frame
    8. Spring MVC
      FrameworkServlet.service
      1. org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)
      1 frame