Change @Autowired() to @Autowired, @Bean() to @Bean, @Config() to @Config, @Component() to @Component