2016-07-02 4 views

답변

0

아래 주석이있는 클래스 주석 달기 @SpringBootApplication도 동일하게 작동하며 excludeFilter는 중요합니다.이 클래스는 스캔하는 동안 포함하지 않을 클래스를 지정하는 데 사용됩니다.

@EnableAutoConfiguration 
@ComponentScan(excludeFilters={@Filter(type=CUSTOM, classes={TypeExcludeFilter.class})})