java.lang.IllegalStateException: Could not find default template engine in component manager

Google Groups | Ivan Paolillo | 4 months ago
  1. 0

    Could not find default template engine

    Google Groups | 4 months ago | Ivan Paolillo
    java.lang.IllegalStateException: Could not find default template engine in component manager
  2. 0
    Upgrade sbt-dependency-graph to 0.8.2 or later.
  3. 0
    Update to Grails 3.0.x
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    All look like I had something else running on my machine that was interfering with it. Once I rebooted it runs without issue.
  6. 0
    The solution is to run as root using sudo or to set different port in "application.properties" file, e.g. server.port=${port:8181}

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

      Could not find default template engine in component manager

      at org.mayocat.views.provider.TemplateEngineProvider.get()
    2. org.mayocat.views
      TemplateEngineProvider.get
      1. org.mayocat.views.provider.TemplateEngineProvider.get(TemplateEngineProvider.java:31)[mayocat-shop-application-0.30.1.jar:na]
      2. org.mayocat.views.provider.TemplateEngineProvider.get(TemplateEngineProvider.java:20)[mayocat-shop-application-0.30.1.jar:na]
      2 frames
    3. org.mayocat.shop
      WebViewMessageBodyWriter.writeTo
      1. org.mayocat.shop.front.views.WebViewMessageBodyWriter.writeTo(WebViewMessageBodyWriter.java:158)[mayocat-shop-application-0.30.1.jar:na]
      2. org.mayocat.shop.front.views.WebViewMessageBodyWriter.writeTo(WebViewMessageBodyWriter.java:49)[mayocat-shop-application-0.30.1.jar:na]
      2 frames
    4. Jersey
      WebApplicationImpl.handleRequest
      1. com.sun.jersey.spi.container.ContainerResponse.write(ContainerResponse.java:306)[mayocat-shop-application-0.30.1.jar:na]
      2. com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1479)[mayocat-shop-application-0.30.1.jar:na]
      3. com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1391)[mayocat-shop-application-0.30.1.jar:na]
      4. com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1381)[mayocat-shop-application-0.30.1.jar:na]
      4 frames
    5. Jersey
      ServletContainer.service
      1. com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)[mayocat-shop-application-0.30.1.jar:na]
      2. com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:538)[mayocat-shop-application-0.30.1.jar:na]
      3. com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:716)[mayocat-shop-application-0.30.1.jar:na]
      3 frames
    6. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:848)[mayocat-shop-application-0.30.1.jar:na]
      1 frame
    7. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:669)[mayocat-shop-application-0.30.1.jar:na]
      2. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1448)[mayocat-shop-application-0.30.1.jar:na]
      2 frames
    8. org.mayocat.jersey
      JERSEY920WorkaroundServletFilter.doFilter
      1. org.mayocat.jersey.JERSEY920WorkaroundServletFilter.doFilter(JERSEY920WorkaroundServletFilter.java:47)[mayocat-shop-application-0.30.1.jar:na]
      1 frame
    9. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1419)[mayocat-shop-application-0.30.1.jar:na]
      1 frame
    10. org.mayocat.localization
      RequestLocalizationFilter.doFilter
      1. org.mayocat.localization.RequestLocalizationFilter.doFilter(RequestLocalizationFilter.java:147)[mayocat-shop-application-0.30.1.jar:na]
      1 frame
    11. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1419)[mayocat-shop-application-0.30.1.jar:na]
      1 frame
    12. Dropwizard
      ThreadNameFilter.doFilter
      1. com.yammer.dropwizard.servlets.ThreadNameFilter.doFilter(ThreadNameFilter.java:29)[mayocat-shop-application-0.30.1.jar:na]
      1 frame
    13. Jetty
      HandlerWrapper.handle
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1419)[mayocat-shop-application-0.30.1.jar:na]
      2. org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:455)[mayocat-shop-application-0.30.1.jar:na]
      3. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1075)[mayocat-shop-application-0.30.1.jar:na]
      4. org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:384)[mayocat-shop-application-0.30.1.jar:na]
      5. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1009)[mayocat-shop-application-0.30.1.jar:na]
      6. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)[mayocat-shop-application-0.30.1.jar:na]
      7. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)[mayocat-shop-application-0.30.1.jar:na]
      7 frames
    14. Metrics Jetty Support
      InstrumentedHandler.handle
      1. com.yammer.metrics.jetty.InstrumentedHandler.handle(InstrumentedHandler.java:200)[mayocat-shop-application-0.30.1.jar:na]
      1 frame
    15. Jetty
      GzipHandler.handle
      1. org.eclipse.jetty.server.handler.GzipHandler.handle(GzipHandler.java:264)[mayocat-shop-application-0.30.1.jar:na]
      1 frame
    16. Dropwizard
      BiDiGzipHandler.handle
      1. com.yammer.dropwizard.jetty.BiDiGzipHandler.handle(BiDiGzipHandler.java:123)[mayocat-shop-application-0.30.1.jar:na]
      1 frame
    17. Jetty
      QueuedThreadPool$3.run
      1. org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154)[mayocat-shop-application-0.30.1.jar:na]
      2. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)[mayocat-shop-application-0.30.1.jar:na]
      3. org.eclipse.jetty.server.Server.handle(Server.java:368)[mayocat-shop-application-0.30.1.jar:na]
      4. org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489)[mayocat-shop-application-0.30.1.jar:na]
      5. org.eclipse.jetty.server.BlockingHttpConnection.handleRequest(BlockingHttpConnection.java:53)[mayocat-shop-application-0.30.1.jar:na]
      6. org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:942)[mayocat-shop-application-0.30.1.jar:na]
      7. org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1004)[mayocat-shop-application-0.30.1.jar:na]
      8. org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:640)[mayocat-shop-application-0.30.1.jar:na]
      9. org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)[mayocat-shop-application-0.30.1.jar:na]
      10. org.eclipse.jetty.server.BlockingHttpConnection.handle(BlockingHttpConnection.java:72)[mayocat-shop-application-0.30.1.jar:na]
      11. org.eclipse.jetty.server.nio.BlockingChannelConnector$BlockingChannelEndPoint.run(BlockingChannelConnector.java:298)[mayocat-shop-application-0.30.1.jar:na]
      12. org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)[mayocat-shop-application-0.30.1.jar:na]
      13. org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)[mayocat-shop-application-0.30.1.jar:na]
      13 frames
    18. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)[na:1.7.0_79]
      1 frame