|
|
@ -15,7 +15,6 @@ import org.springframework.context.annotation.Configuration;
|
|
|
|
import org.springframework.context.support.ReloadableResourceBundleMessageSource;
|
|
|
|
import org.springframework.context.support.ReloadableResourceBundleMessageSource;
|
|
|
|
import org.springframework.util.AntPathMatcher;
|
|
|
|
import org.springframework.util.AntPathMatcher;
|
|
|
|
import org.springframework.web.servlet.i18n.SessionLocaleResolver;
|
|
|
|
import org.springframework.web.servlet.i18n.SessionLocaleResolver;
|
|
|
|
import org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import com.fasterxml.jackson.core.JsonParser.Feature;
|
|
|
|
import com.fasterxml.jackson.core.JsonParser.Feature;
|
|
|
|
import com.fasterxml.jackson.databind.ObjectMapper;
|
|
|
|
import com.fasterxml.jackson.databind.ObjectMapper;
|
|
|
@ -73,14 +72,6 @@ public class CommonConfig {
|
|
|
|
return new LeaveaTrace();
|
|
|
|
return new LeaveaTrace();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**RequestMappingHandlerMapping을 반환한다.
|
|
|
|
|
|
|
|
* @return RequestMappingHandlerMapping
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
@Bean
|
|
|
|
|
|
|
|
public RequestMappingHandlerMapping requestHandlers() {
|
|
|
|
|
|
|
|
return new RequestMappingHandlerMapping();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private Yml yml = new Yml("application.yml", "application.yml");
|
|
|
|
private Yml yml = new Yml("application.yml", "application.yml");
|
|
|
|
|
|
|
|
|
|
|
|
/**application.yml의 설정 내용을 읽어 MessageSource Bean을 설정하여 반환한다.
|
|
|
|
/**application.yml의 설정 내용을 읽어 MessageSource Bean을 설정하여 반환한다.
|
|
|
|