Hi All,
When setting the environment as production for building and deployment, i am getting below error while starting the application.
Anyboday knows how to set value for the BroadleafRequestProcessor.thymeleafThreadLocalCleanupEnabled? It uses the annotation @Value("${thymeleaf.threadLocalCleanup.enabled}").
Error creating bean with name 'blRequestFilter': Injection of resource dependencies failed;
nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'blRequestProcessor': Injection of autowired dependencies failed;
nested exception is org.springframework.beans.factory.BeanCreationException:
Could not autowire field: protected boolean org.broadleafcommerce.common.web.BroadleafRequestProcessor.thymeleafThreadLocalCleanupEnabled;
nested exception is org.springframework.beans.TypeMismatchException: Failed to convert value of type 'java.lang.String'
to required type 'boolean'; nested exception is java.lang.IllegalArgumentException: Invalid boolean value
[${thymeleaf.threadLocalCleanup.enabled}]
org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:306)
Thanks in advance
This forum is in readonly mode and serves as an archive of old information. All posting, registration and commenting abilities have been turned off. To get help, the Broadleaf team reguarly monitors the broadleaf-commerce tag on Stack Overflow so please ask your questions there.