S

Shyam Dubey • 3.70K Points
Extraordinary

Q. How do you activate a specific profile in Spring Boot via command line?

  • (A) --spring.profiles.run=dev
  • (B) --profile.active=dev
  • (C) --spring.profiles.active=dev
  • (D) --set-profile=dev
  • Correct Answer - Option(C)
  • Views: 13
  • Filed under category Springboot
  • Hashtags:

Explanation by: Shyam Dubey
You can activate a specific profile using --spring.profiles.active=profileName on the command line.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.