Skip to content

groovy + spring boot 1.2.0.RELEASE doesn't work with default autoconfiguration #2190

@cfieber

Description

@cfieber

Threw together a quick example of this:
https://github.com/cfieber/boot-bugs

A vanilla @EnableAutoConfiguation app with groovy in the classpath fails because GroovyTemplateAutoConfiguration activates which fails because there is no templates classpath resource:
https://github.com/cfieber/boot-bugs/blob/master/src/main/groovy/bootbugs/MainBroken.groovy

workaround is to exclude GroovyTemplateAutoConfiguration:
https://github.com/cfieber/boot-bugs/blob/master/src/main/groovy/bootbugs/Main.groovy

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions