Springboot 引入 thymeleaf 依赖,在 pom 文件中报错

错误:Springboot引入thymeleaf依赖,在pom文件中报错。

分析原因: maven第一次下载thymeleaf 的jar包时出现问题。没有下载完全。

错误提示:Failed to read artifact descriptor for org.springframework.boot:spring-boot-starter-thymeleaf:jar:2.7.9

解决办法:

①  找到maven的jar包下载目录。删除thymeleaf 的下载目录。

 

②  再重新从中央仓库拉取就可以了 。

 

 

posted @ 2023-03-17 00:00  笔兴洽谈室  阅读(199)  评论(0编辑  收藏  举报