启动项目时Thymeleaf 出错

An attempt was made to call a method that does not exist. The attempt was made from the following location:

Correct the classpath of your application so that it contains a single, compatible version of org.thymeleaf.spring5.SpringTemplateEngine

上面的错误,由于我在导入Thymeleaf时,导入了两次,导致Thymeleaf的jar包冲突,删除其中一个就不会报错了

你可能感兴趣的:(启动项目时Thymeleaf 出错)