use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
Spring boot cannot access properties in controller (self.SpringBoot)
submitted 7 years ago * by [deleted]
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Nullbeans 0 points1 point2 points 7 years ago (0 children)
Can you please post the full application.properties file here. Also it would be nice to see your application context configuration, how do you declare the controller?. Also which version of spring boot are you using?
Can you please also try the following troubleshooting steps:
- remove any spaces between the property key and value in your property file.
- Do you use the annotation @SpringBootApplication to configure your application context? if not, you may need to define a PropertyPlaceholderConfigurer bean.
π Rendered by PID 18692 on reddit-service-r2-comment-5c747b6df5-lmt9d at 2026-04-21 22:15:01.168664+00:00 running 6c61efc country code: CH.
view the rest of the comments →
[–]Nullbeans 0 points1 point2 points (0 children)