Suppress maven warning by adding the encoding
Inject a component to provide properties to a controller (spring issue)