15 Star 185 Fork 162

YuePeng / erupt-example

 / 详情

java.lang.NoClassDefFoundError: org/thymeleaf/templateresolver/ITemplateResolver

已完成
创建于  
2021-01-29 11:58

启动报这个错误··
还想问一下,模板目录/tpl可以修改么?

评论 (5)

Discard 创建了任务
Discard 关联仓库设置为erupts/erupt-example
展开全部操作日志

用什么启动的?war还是jar

用什么启动的?war还是jar

@YuePeng jar,也注释掉了启动类里的配置·

用什么启动的?war还是jar

@YuePeng 我重新clone了代码··只改了数据库的配置运行也是报这个问题

本地可以运行起来了··有几个改动··
1、注释掉spring-boot-starter-tomcat的scope
2、增加依赖

org.thymeleaf
thymeleaf
3.0.11.RELEASE


org.apache.velocity
velocity
1.7

版本还没有验证···

下一个版本我会修复此问题,thymeleaf、velocity、thymeleaf 是可选依赖,不应该让使用者强制增加该依赖!

Discard 任务状态待办的 修改为已完成

登录 后才可以发表评论

状态
负责人
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
参与者(2)
1242047 erupt 1631245308
Java
1
https://gitee.com/erupt/erupt-example.git
git@gitee.com:erupt/erupt-example.git
erupt
erupt-example
erupt-example

搜索帮助