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