org.thymeleaf:thymeleaf-spring5:null:jar
时间: 2023-10-13 15:03:34 浏览: 337
org.thymeleaf:thymeleaf-spring5:null:jar是指Thymeleaf与Spring集成的库。根据引用,可以解决这个问题的方法是在Thymeleaf中加上spring5的版本号,具体的版本号是"3.0.9.RELEASE"。引用和引用提供了相关的jar文件路径和类文件信息。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* *3* [解决spring5与thymeleaf版本冲突的问题](https://blog.csdn.net/pshdhx/article/details/110306798)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 100%"]
[ .reference_list ]
相关问题
ERROR 5436 --- [nio-8080-exec-7] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.thymeleaf.exceptions.TemplateInputException: An error happened during template parsing (template: "class path resource [templates/back/comment_list.html]")] with root cause org.springframework.expression.spel.SpelEvaluationException: EL1007E: Property or field 'list' cannot be found on null at org.springframework.expression.spel.ast.PropertyOrFieldReference.readProperty(PropertyOrFieldReference.java:213) ~[spring-expression-5.1.5.RELEASE.jar:5.1.5.RELEASE] at org.springframework.expression.spel.ast.PropertyOrFieldReference.getValueInternal(PropertyOrFieldReference.java:104) ~[spring-expression-5.1.5.RELEASE.jar:5.1.5.RELEASE] at org.springframework.expression.spel.ast.PropertyOrFieldReference.access$000(PropertyOrFieldReference.java:51) ~[spring-expression-5.1.5.RELEASE.jar:5.1.5.RELEASE] at org.springframework.expression.spel.ast.PropertyOrFieldReference$AccessorLValue.getValue(PropertyOrFieldReference.java:406) ~[spring-expression-5.1.5.RELEASE.jar:5.1.5.RELEASE] at org.springframework.expression.spel.ast.CompoundExpression.getValueInternal(CompoundExpression.java:90) ~[spring-expression-5.1.5.RELEASE.jar:5.1.5.RELEASE] at org.springframework.expression.spel.ast.SpelNodeImpl.getValue(SpelNodeImpl.java:109) ~[spring-expression-5.1.5.RELEASE.jar:5.1.5.RELEASE] at org.springframework.expression.spel.standard.SpelExpression.getValue(SpelExpression.java:328) ~[spring-expression-5.1.5.RELEASE.jar:5.1.5.RELEASE] at org.thymeleaf.spring5.expression.SPELVariableExpressionEvaluator.evaluate(SPELVariableExpressionEvaluator.java:263) ~[thymeleaf-spring5-3.0.11.RELEASE.jar:3.0.11.RELEASE]
这个错误提示是在处理请求时发生了异常,具体原因是模板解析异常。在请求处理过程中,使用的模板文件 "comment_list.html" 中使用了一个名为 "list" 的属性或字段,但是该属性或字段找不到。这可能是因为在模板中使用了一个不存在的变量或对象,或者变量或对象中不存在该属性或字段。
你需要检查模板文件中使用的变量或对象是否存在,以及该变量或对象是否包含名为 "list" 的属性或字段。如果确认变量或对象存在,并且包含该属性或字段,可以考虑检查模板引擎的配置是否正确。同时,你还需要检查变量或对象是否正确地传递给了模板引擎进行解析。
找不到依赖项 'org.springframework.boot:spring-boot-starter-thymeleaf:
根据引用内容,问题是关于找不到依赖项 'org.springframework.boot:spring-boot-starter-thymeleaf' 的。根据引用\[1\],解决办法是在导入依赖时加入版本信息。你可以在导入依赖时添加版本信息,例如<version>2.7.3</version>。引用\[2\]提到了尝试清除.lastUpdated文件并重新加载项目,但没有效果。另外,引用\[3\]指出可能是由于maven仓库依赖问题,建议刷新maven或检查依赖是否已下载。还有一种可能是IDEA启动程序按钮和maven的build使用的jar包环境不一样,需要设置一下IDEA中maven的配置,使其与maven操作一致。
#### 引用[.reference_title]
- *1* *2* [Cannot resolve org.springframework.boot:spring-boot-starter-thymeleaf:2.7.5-SNAPSHOT](https://blog.csdn.net/weixin_54373148/article/details/127081705)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
- *3* [springboot依赖导入却报错说找不到org.springframework.boot包不存在](https://blog.csdn.net/weixin_46644575/article/details/122932866)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文
相关推荐
![zip](https://img-home.csdnimg.cn/images/20241231045053.png)
![pdf](https://img-home.csdnimg.cn/images/20241231044930.png)
![rar](https://img-home.csdnimg.cn/images/20241231044955.png)
![zip](https://img-home.csdnimg.cn/images/20241231045053.png)
![docx](https://img-home.csdnimg.cn/images/20241231044901.png)
![-](https://img-home.csdnimg.cn/images/20241231045053.png)
![-](https://img-home.csdnimg.cn/images/20241226111658.png)
![-](https://img-home.csdnimg.cn/images/20241226111658.png)
![-](https://img-home.csdnimg.cn/images/20241226111658.png)
![-](https://img-home.csdnimg.cn/images/20241226111658.png)
![-](https://img-home.csdnimg.cn/images/20241226111658.png)
![-](https://img-home.csdnimg.cn/images/20241226111658.png)
![-](https://img-home.csdnimg.cn/images/20241226111658.png)
![-](https://img-home.csdnimg.cn/images/20241226111658.png)