package com.mesc.service.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.context.annotation.PropertySource;
import org.springframework.context.support.PropertySourcesPlaceholderConfigurer;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;

@Configuration
@EnableWebMvc
@ComponentScan(basePackages = { "com.mesc.service.controller" })
@Import({PersistenceContext.class})
public class ApplicationContext {
	@Configuration
    @PropertySource("classpath:application.properties")
    static class ApplicationProperties {}
	
	@Bean
    PropertySourcesPlaceholderConfigurer propertyPlaceHolderConfigurer() {
        return new PropertySourcesPlaceholderConfigurer();
    }
}

@@ -560,16 +560,45 @@
 troller%22
+, %22com.mesc.service.services%22
  %7D)%0A@Imp

Change on component scan to support AutoWired