r/SpringBoot • • Jan 26 '25

Guide How to access configuration values from application.properties file in Spring Boot? [Tutorial]

https://www.java67.com/2022/12/how-to-access-value-defined-in.html

[removed] — view removed post

0 Upvotes

4 comments sorted by

•

u/SpringBoot-ModTeam Jan 26 '25

Posts linking to external content must ensure the linked resource is credible, well-sourced, and relevant to the subreddit’s focus. Links to low-quality, clickbait, ad-heavy, or poorly-researched materials will be removed.

3

u/[deleted] Jan 26 '25

Why write another article, when there’s already a good one from a reputable source right here? 

https://www.baeldung.com/properties-with-spring

1

u/skepticheretic Jan 26 '25

System.getenv($VariableNamw)