list of active profiles java code example Example: spring environment get active profiles @ActiveProfiles("dev")