Friday, 27 September 2019

Injecting Property Value in Spring boot 2


the property value active should be injected from the property file.

@Value("${spring.profiles.active}")
private String activeProfile;


spring-value-annotation


No comments:

Can Jackson Deserialize Java Time ZonedDateTime

Yes, but must include JSR310. Thus ZonedDateTime can be deserialized directly from JSON response to POJO field. <dependency> <g...