pom文件的sprint-boot-starter-thymeleaf依赖我从PDF里面复制过来到pom里面,然后就发生神奇的现象,这个jar包死活下载不下来。本地库里面的文件就是sprint-boot-starter-thymeleaf.lastupdated两个文件,没有jar。解决方法:从spring官网里面的文档里复制sprint-boot-starter-thymeleaf到pom文件的依赖下,再次reimport,居然下载成功,我心态崩了啊,这搞了我几小时,这就好了。
官网的文档界面 ctrl+F 搜索Starters,并点击,到如下界面:
---------------——————————
希望可以帮新手避坑!!