Spring boot 3 upgraded from javax. to jakarta. classes for EE support. And if in a spring boot application there will be no old javax.* dependency, the @PostConstruct annotated methods won't be invoked.
This small change allows init method to work in both spring boot 2 and 3 (and even spring boot 1.x 😄 )
What do you think?
Spring boot 3 upgraded from javax. to jakarta. classes for EE support. And if in a spring boot application there will be no old javax.* dependency, the
@PostConstruct
annotated methods won't be invoked. This small change allows init method to work in both spring boot 2 and 3 (and even spring boot 1.x 😄 ) What do you think?