@Value("#{${Mapping}}") private Map<String,String> mapping; @Bean public Map<String,String> getMapping() { return mapping; }
This works in a minimal project.
2.1m questions
2.1m answers
60 comments
57.0k users