Skip to content

springgroovy.template.check-template-location default value #1915

@marceloverdijk

Description

@marceloverdijk

After upgrading to 1.2.0.RC1 I got troubles with Groovy Templates.

I'm using Groovy in my unit/it tests (via test dependency) and Boot tries to autoconfigure Groovy Templates then.
As my project doesn't have a /templates folder this causes startup issues as it cannot find the folder.

It is easy fixable by adding:
spring.groovy.template.check-template-location: false

I haven't seen this issue before RC1 so probably something has changed.
I wonder if the default value should not be false.
As I do not do anything with Groovy Templates it's weird that I to set this setting explicitly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions