Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NoClassDefFoundError - org/thymeleaf/util/VersionUtils #312

Open
booktest10 opened this issue Mar 29, 2023 · 2 comments
Open

NoClassDefFoundError - org/thymeleaf/util/VersionUtils #312

booktest10 opened this issue Mar 29, 2023 · 2 comments

Comments

@booktest10
Copy link

booktest10 commented Mar 29, 2023

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
Copy link
Author

image

@booktest10
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant