springboot 2.0配置集成thymeleaf的坑

 Servlet.service() for servlet [dispatcherServlet] in context with path []

 

java.lang.NoClassDefFoundError: Could not initialize class org.thymeleaf.templateparser.markup.HTMLTemplateParser
 
2018-06-19 19:10:43.630 ERROR 9408 --- [nio-8080-exec-6] o.a.c.c.C.[.[.[/].[dispatcherServlet]    : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Handler processing failed; nested exception is java.lang.NoClassDefFoundError: Could not initialize class org.thymeleaf.templateparser.markup.HTMLTemplateParser] with root cause
 
 
Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception
 
.NoClassDefFoundError: org/attoparser/config/ParseConfiguration] with root cause
 
java.lang.NoClassDefFoundError: Could not initialize class org.thymeleaf.templateparser.markup.HTMLTemplateParser

全是这种报错提示,百度搜了一圈没找到相关的问题,愿意为spring boot 可以加速开发过程的 结果自己在写代码的时候,就遇到各种的坑。。。

 

转载于:https://www.cnblogs.com/xinweiyun/p/9201069.html

你可能感兴趣的:(springboot 2.0配置集成thymeleaf的坑)