Closed LennardWolf2023 closed 3 days ago
We have found that when we are pinning the groovy version that is delivered within the thymeleaf library to version 4.0.22 instead of using version 4.0.23 that was delivered with the new 3.3.4 version of thymeleaf spring boot starter, the error does not occur anymore.
Thanks for this information. It tells us that the problem has been introduced in Groovy 4.0.23 and is almost certainly out of Spring Boot's control. Please report this to the Apache Groovy project so that they can investigate.
Hello dear spring-boot community,
We faced an error when migrating spring-boot-starter-thymeleaf with version 3.3.4, that did not occur in the previous 3.3.3 version. When loading a template that uses the layout decorate functionality, a
Circular loading of installed providers detected
occurs, when the application runs inside an our docker container.Since the thymeleaf-6 dependency has not changed since 2023 and the other compiled dependency in the package is spring-boot-starter, we wanted to place this bug report here.
We are using the following versions:
The stack trace looks like the following:
Stacktrace:
Reproduce:
Create a Kotlin application with a warm up service that loads the templates initially when starting the application:
The sampleFullBleed looks like the following:
Workaround: We have found that when we are pinning the groovy version that is delivered within the thymeleaf library to version 4.0.22 instead of using version 4.0.23 that was delivered with the new 3.3.4 version of thymeleaf spring boot starter, the error does not occur anymore. That works for the moment, of course for further releases this could raise other isssues.
We would be very thankful, if you could help us to fix the issue.