thymeleaf-spring icon indicating copy to clipboard operation
thymeleaf-spring copied to clipboard

NoClassDefFoundError - org/thymeleaf/util/VersionUtils

Open booktest10 opened this issue 2 years ago • 2 comments

I am getting NoClassDefFoundError VersionUtils with thymeleaf-spring5 from this version onwards 3.0.11.RELEASE.

org.springframework.boot version "2.3.4.RELEASE" implementation('org.thymeleaf:thymeleaf-spring5:3.0.11.RELEASE')

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'templateEngine' defined in class path resource [org/springframework/boot/autoconfigure/thymeleaf/ThymeleafAutoConfiguration$ThymeleafDefaultConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.thymeleaf.spring5.SpringTemplateEngine]: Factory method 'templateEngine' threw exception; nested exception is java.lang.NoClassDefFoundError: org/thymeleaf/util/VersionUtils

booktest10 avatar Mar 29 '23 19:03 booktest10

image

booktest10 avatar Mar 30 '23 21:03 booktest10

Hi @danielfernandez pls take a look and advice me for the same

booktest10 avatar Mar 31 '23 15:03 booktest10