Failed to read artifact descriptor for org.springframework.boot:spring-boot-starter-Thymeleaf:jar

在springboot项目中用的springboot是2.2.6的版本,在pom中引入Thymeleaf。

pom.xml中引入的内容为:

<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-thymeleaf</artifactId>
</dependency>

但是却发现报错:Failed to read artifact descriptor for org.springframework.boot:spring-boot-starter-Thymeleaf:jar:2.2.6.RELEASE

网上各种查,也没有找到解决办法。

然后怀疑是版本问题,然后就把2.2.6版本改为2.2.4,重新引入jar,就不报错了。。。。真是巨坑,原因也不知道是什么,不是说springboot官方都推荐用thymeleaf么,怎么还有这问题。。

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值