title: Spring Boot 2.0.4 + Thymeleaf 3.0.9: Could not initialize class HTMLTemplateParser
body: <p>I am trying to run a basic webapp using Spring Boot with Maven and Thymeleaf. </p>
  
  <p>This is my environment:</p>
  
  <ul>
  <li>MacOS High Sierra 10.13.6 (the latest version)</li>
  <li>Java 1.8 (which should be compatible)</li>
  <li>Spring Boot 2.0.4 (imported with Maven)</li>
  <li>Thymeleaf (imported with Maven)</li>
  <li>Embedded Tomcat </li>
  </ul>
  
  <p>My problem is that when I try to run my demo application in the embedded Tomcat webserver, I get the following error:</p>
  
  <blockquote>
    <p><strong>Whitelabel Error Page</strong> 
    This application has no explicit mapping for /error, so you are seeing this as a fallback.</p>
    
    <p>Wed Aug 15 17:03:07 CEST 2018 There was an unexpected error
    (type=Internal Server Error, status=500).
    org/attoparser/config/ParseConfiguration</p>
  </blockquote>
  
  <p>Checking the console, this is the exception stacktrace:</p>
  
  <blockquote>
    <p>java.lang.ClassNotFoundException:
    org.attoparser.config.ParseConfiguration  at
    java.net.URLClassLoader.findClass(URLClassLoader.java:381)
    ~[na:1.8.0_60]    at
    java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[na:1.8.0_60]
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
    ~[na:1.8.0_60]    at
    java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[na:1.8.0_60]
      at
    org.thymeleaf.templateparser.markup.HTMLTemplateParser.(HTMLTemplateParser.java:43)
    ~[thymeleaf-3.0.9.RELEASE.jar:3.0.9.RELEASE]  at
    org.thymeleaf.engine.TemplateManager.(TemplateManager.java:117)
    ~[thymeleaf-3.0.9.RELEASE.jar:3.0.9.RELEASE]  at
    org.thymeleaf.EngineConfiguration.initialize(EngineConfiguration.java:137)
    ~[thymeleaf-3.0.9.RELEASE.jar:3.0.9.RELEASE]  at
    org.thymeleaf.TemplateEngine.initialize(TemplateEngine.java:341)
    ~[thymeleaf-3.0.9.RELEASE.jar:3.0.9.RELEASE]  at
    org.thymeleaf.TemplateEngine.getConfiguration(TemplateEngine.java:406)
    ~[thymeleaf-3.0.9.RELEASE.jar:3.0.9.RELEASE]  at
    org.thymeleaf.spring5.view.ThymeleafView.renderFragment(ThymeleafView.java:255)
    ~[thymeleaf-spring5-3.0.9.RELEASE.jar:3.0.9.RELEASE]  at
    org.thymeleaf.spring5.view.ThymeleafView.render(ThymeleafView.java:187)
    ~[thymeleaf-spring5-3.0.9.RELEASE.jar:3.0.9.RELEASE]  at
    org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1325)
    ~[spring-webmvc-5.0.8.RELEASE.jar:5.0.8.RELEASE]  at
    org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1069)
    ~[spring-webmvc-5.0.8.RELEASE.jar:5.0.8.RELEASE]  at
    org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1008)
    ~[spring-webmvc-5.0.8.RELEASE.jar:5.0.8.RELEASE]  at
    org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:925)
    ~[spring-webmvc-5.0.8.RELEASE.jar:5.0.8.RELEASE]  at
    org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:974)
    ~[spring-webmvc-5.0.8.RELEASE.jar:5.0.8.RELEASE]  at
    org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:866)
    ~[spring-webmvc-5.0.8.RELEASE.jar:5.0.8.RELEASE]  at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:635)
    ~[tomcat-embed-core-8.5.32.jar:8.5.32]    at
    org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:851)
    ~[spring-webmvc-5.0.8.RELEASE.jar:5.0.8.RELEASE]  at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
    ~[tomcat-embed-core-8.5.32.jar:8.5.32]    at
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
    ~[tomcat-embed-core-8.5.32.jar:8.5.32]    at
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
    ~[tomcat-embed-core-8.5.32.jar:8.5.32]    at
    org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
    ~[tomcat-embed-websocket-8.5.32.jar:8.5.32]   at
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
    ~[tomcat-embed-core-8.5.32.jar:8.5.32]    at
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
    ~[tomcat-embed-core-8.5.32.jar:8.5.32]    at
    org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)
    ~[spring-web-5.0.8.RELEASE.jar:5.0.8.RELEASE]     at
    org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
    ~[spring-web-5.0.8.RELEASE.jar:5.0.8.RELEASE]     at
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
    ~[tomcat-embed-core-8.5.32.jar:8.5.32]    at
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
    ~[tomcat-embed-core-8.5.32.jar:8.5.32]    at
    org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:109)
    ~[spring-web-5.0.8.RELEASE.jar:5.0.8.RELEASE]     at
    org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
    ~[spring-web-5.0.8.RELEASE.jar:5.0.8.RELEASE]     at
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
    ~[tomcat-embed-core-8.5.32.jar:8.5.32]    at
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
    ~[tomcat-embed-core-8.5.32.jar:8.5.32]    at
    org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93)
    ~[spring-web-5.0.8.RELEASE.jar:5.0.8.RELEASE]     at
    org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
    ~[spring-web-5.0.8.RELEASE.jar:5.0.8.RELEASE]     at
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
    ~[tomcat-embed-core-8.5.32.jar:8.5.32]    at
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
    ~[tomcat-embed-core-8.5.32.jar:8.5.32]    at
    org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200)
    ~[spring-web-5.0.8.RELEASE.jar:5.0.8.RELEASE]     at
    org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
    ~[spring-web-5.0.8.RELEASE.jar:5.0.8.RELEASE]     at
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
    ~[tomcat-embed-core-8.5.32.jar:8.5.32]    at
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
    ~[tomcat-embed-core-8.5.32.jar:8.5.32]    at
    org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
    ~[tomcat-embed-core-8.5.32.jar:8.5.32]    at
    org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
    [tomcat-embed-core-8.5.32.jar:8.5.32]     at
    org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493)
    [tomcat-embed-core-8.5.32.jar:8.5.32]     at
    org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
    [tomcat-embed-core-8.5.32.jar:8.5.32]     at
    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
    [tomcat-embed-core-8.5.32.jar:8.5.32]     at
    org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
    [tomcat-embed-core-8.5.32.jar:8.5.32]     at
    org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
    [tomcat-embed-core-8.5.32.jar:8.5.32]     at
    org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:800)
    [tomcat-embed-core-8.5.32.jar:8.5.32]     at
    org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
    [tomcat-embed-core-8.5.32.jar:8.5.32]     at
    org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:800)
    [tomcat-embed-core-8.5.32.jar:8.5.32]     at
    org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1471)
    [tomcat-embed-core-8.5.32.jar:8.5.32]     at
    org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
    [tomcat-embed-core-8.5.32.jar:8.5.32]     at
    java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    [na:1.8.0_60]     at
    java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    [na:1.8.0_60]     at
    org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
    [tomcat-embed-core-8.5.32.jar:8.5.32]     at
    java.lang.Thread.run(Thread.java:745) [na:1.8.0_60]</p>
  </blockquote>
  
  <p>Weird thing is, if I try to send another HTTP GET Request (= reload the page) after this error has occurred, I will get a different error:</p>
  
  <blockquote>
    <p><strong>Whitelabel Error Page</strong> 
    This application has no explicit mapping for /error, so you are seeing this as a fallback.</p>
    
    <p>Wed Aug 15 16:52:35 CEST 2018 There was an unexpected error
    (type=Internal Server Error, status=500). Could not initialize class
    org.thymeleaf.templateparser.markup.HTMLTemplateParser</p>
  </blockquote>
  
  <p>Here is the console output for this error too:</p>
  
  <blockquote>
    <p>java.lang.NoClassDefFoundError: Could not initialize class
    org.thymeleaf.templateparser.markup.HTMLTemplateParser    at
    org.thymeleaf.engine.TemplateManager.(TemplateManager.java:117)
    ~[thymeleaf-3.0.9.RELEASE.jar:3.0.9.RELEASE]  at
    org.thymeleaf.EngineConfiguration.initialize(EngineConfiguration.java:137)
    ~[thymeleaf-3.0.9.RELEASE.jar:3.0.9.RELEASE]  at
    org.thymeleaf.TemplateEngine.initialize(TemplateEngine.java:341)
    ~[thymeleaf-3.0.9.RELEASE.jar:3.0.9.RELEASE]  at
    org.thymeleaf.TemplateEngine.getConfiguration(TemplateEngine.java:406)
    ~[thymeleaf-3.0.9.RELEASE.jar:3.0.9.RELEASE]  at
    org.thymeleaf.spring5.view.ThymeleafView.renderFragment(ThymeleafView.java:255)
    ~[thymeleaf-spring5-3.0.9.RELEASE.jar:3.0.9.RELEASE]  at
    org.thymeleaf.spring5.view.ThymeleafView.render(ThymeleafView.java:187)
    ~[thymeleaf-spring5-3.0.9.RELEASE.jar:3.0.9.RELEASE]  at
    org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1325)
    ~[spring-webmvc-5.0.8.RELEASE.jar:5.0.8.RELEASE]  at
    org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1069)
    ~[spring-webmvc-5.0.8.RELEASE.jar:5.0.8.RELEASE]  at
    org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1008)
    ~[spring-webmvc-5.0.8.RELEASE.jar:5.0.8.RELEASE]  at
    org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:925)
    ~[spring-webmvc-5.0.8.RELEASE.jar:5.0.8.RELEASE]  at
    org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:974)
    ~[spring-webmvc-5.0.8.RELEASE.jar:5.0.8.RELEASE]  at
    org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:866)
    ~[spring-webmvc-5.0.8.RELEASE.jar:5.0.8.RELEASE]  at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:635)
    ~[tomcat-embed-core-8.5.32.jar:8.5.32]    at
    org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:851)
    ~[spring-webmvc-5.0.8.RELEASE.jar:5.0.8.RELEASE]  at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
    ~[tomcat-embed-core-8.5.32.jar:8.5.32]    at
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
    ~[tomcat-embed-core-8.5.32.jar:8.5.32]    at
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
    ~[tomcat-embed-core-8.5.32.jar:8.5.32]    at
    org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
    ~[tomcat-embed-websocket-8.5.32.jar:8.5.32]   at
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
    ~[tomcat-embed-core-8.5.32.jar:8.5.32]    at
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
    ~[tomcat-embed-core-8.5.32.jar:8.5.32]    at
    org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)
    ~[spring-web-5.0.8.RELEASE.jar:5.0.8.RELEASE]     at
    org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
    ~[spring-web-5.0.8.RELEASE.jar:5.0.8.RELEASE]     at
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
    ~[tomcat-embed-core-8.5.32.jar:8.5.32]    at
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
    ~[tomcat-embed-core-8.5.32.jar:8.5.32]    at
    org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:109)
    ~[spring-web-5.0.8.RELEASE.jar:5.0.8.RELEASE]     at
    org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
    ~[spring-web-5.0.8.RELEASE.jar:5.0.8.RELEASE]     at
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
    ~[tomcat-embed-core-8.5.32.jar:8.5.32]    at
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
    ~[tomcat-embed-core-8.5.32.jar:8.5.32]    at
    org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93)
    ~[spring-web-5.0.8.RELEASE.jar:5.0.8.RELEASE]     at
    org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
    ~[spring-web-5.0.8.RELEASE.jar:5.0.8.RELEASE]     at
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
    ~[tomcat-embed-core-8.5.32.jar:8.5.32]    at
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
    ~[tomcat-embed-core-8.5.32.jar:8.5.32]    at
    org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200)
    ~[spring-web-5.0.8.RELEASE.jar:5.0.8.RELEASE]     at
    org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
    ~[spring-web-5.0.8.RELEASE.jar:5.0.8.RELEASE]     at
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
    ~[tomcat-embed-core-8.5.32.jar:8.5.32]    at
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
    ~[tomcat-embed-core-8.5.32.jar:8.5.32]    at
    org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
    ~[tomcat-embed-core-8.5.32.jar:8.5.32]    at
    org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
    [tomcat-embed-core-8.5.32.jar:8.5.32]     at
    org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493)
    [tomcat-embed-core-8.5.32.jar:8.5.32]     at
    org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
    [tomcat-embed-core-8.5.32.jar:8.5.32]     at
    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
    [tomcat-embed-core-8.5.32.jar:8.5.32]     at
    org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
    [tomcat-embed-core-8.5.32.jar:8.5.32]     at
    org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
    [tomcat-embed-core-8.5.32.jar:8.5.32]     at
    org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:800)
    [tomcat-embed-core-8.5.32.jar:8.5.32]     at
    org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
    [tomcat-embed-core-8.5.32.jar:8.5.32]     at
    org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:800)
    [tomcat-embed-core-8.5.32.jar:8.5.32]     at
    org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1471)
    [tomcat-embed-core-8.5.32.jar:8.5.32]     at
    org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
    [tomcat-embed-core-8.5.32.jar:8.5.32]     at
    java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    [na:1.8.0_60]     at
    java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    [na:1.8.0_60]     at
    org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
    [tomcat-embed-core-8.5.32.jar:8.5.32]     at
    java.lang.Thread.run(Thread.java:745) [na:1.8.0_60]</p>
  </blockquote>
  
  <p>This second error is "stable", meaning that if I reload the page after this error has occurred, the same error occurs again.</p>
  
  <p>The code of the webapp is almost literally copy-pasted from this tutorial that uses an old Spring Boot version (1.4.2).</p>
  
  <p><a href="https://www.mkyong.com/spring-boot/spring-boot-hello-world-example-thymeleaf/" rel="nofollow noreferrer">https://www.mkyong.com/spring-boot/spring-boot-hello-world-example-thymeleaf/</a></p>
  
  <p>All I have changed is 
   - the Spring Boot version: from 1.4.2 to 2.0.4
   - the web package: apparently Spring Boot 1.4.2 had the web package embedded inside, whereas today it doesn't. 
  So I have added this dependency to the Maven pom.xml file:</p>
  
  <pre><code>&lt;dependency&gt;
      &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
      &lt;artifactId&gt;spring-boot-starter-web&lt;/artifactId&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p>If I use the 1.4.2 version, the system works fine, so I believe this is the "wrong step" I have taken.
  However, all the more recent tutorials that I have found use this spring-boot-starter-web package in this way, and they all raise this error in my environment.</p>
  
  <p>So I am quite puzzled.</p>
  
  <p>This is my full POM file:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"&gt;
      &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
  
      &lt;groupId&gt;com.example&lt;/groupId&gt;
      &lt;artifactId&gt;Demo&lt;/artifactId&gt;
      &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;
      &lt;packaging&gt;jar&lt;/packaging&gt;
  
      &lt;parent&gt;
          &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
          &lt;artifactId&gt;spring-boot-starter-parent&lt;/artifactId&gt;
          &lt;version&gt;2.0.4.RELEASE&lt;/version&gt;
          &lt;relativePath/&gt; &lt;!-- lookup parent from repository --&gt;
      &lt;/parent&gt;
  
      &lt;properties&gt;
          &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
          &lt;project.reporting.outputEncoding&gt;UTF-8&lt;/project.reporting.outputEncoding&gt;
          &lt;java.version&gt;1.8&lt;/java.version&gt;
      &lt;/properties&gt;
  
      &lt;dependencies&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
              &lt;artifactId&gt;spring-boot-starter-thymeleaf&lt;/artifactId&gt;          
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
              &lt;artifactId&gt;spring-boot-starter-web&lt;/artifactId&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
              &lt;artifactId&gt;spring-boot-starter-test&lt;/artifactId&gt;
              &lt;scope&gt;test&lt;/scope&gt;
          &lt;/dependency&gt;
      &lt;/dependencies&gt;
  
      &lt;build&gt;
          &lt;plugins&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
                  &lt;artifactId&gt;spring-boot-maven-plugin&lt;/artifactId&gt;
              &lt;/plugin&gt;
          &lt;/plugins&gt;
      &lt;/build&gt;
  &lt;/project&gt;
  </code></pre>
  
  <p>Any ideas?</p>