Skip to content

No Spring Profile results in no configuration being loaded #15193

@jdaugherty

Description

@jdaugherty

Issue description

This code was added in Grails 7:

def activeSpringProfile = System.getProperty(SPRING_PROFILES)

The problem is boot run doesn't always define a spring profile which results in no configuration being loaded.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions