您的位置:首页 > 编程语言 > Java开发

springboot 2.0配置集成thymeleaf的坑

2018-06-19 20:57 926 查看

 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 可以加速开发过程的 结果自己在写代码的时候,就遇到各种的坑。。。

 

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: