Skip to content

Grails Application is not annotated with @SpringBootApplication or @SpringBootConfiguration #14012

@jdaugherty

Description

@jdaugherty

Issue description

In attempting a merge of the mongodb & data-mapping repos, it was noticed that unless the Application class is annotated with @SpringBootApplication then the grails test could not use a different application class. The test also had to be annotated with @SpringBootTest(useMainMethod = SpringBootTest.UseMainMethod.ALWAYS)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions