spring profiles active local code example Example: spring environment get active profiles @ActiveProfiles("dev")