Compare commits

..

2 Commits

@ -2,6 +2,8 @@ package cokr.xit.base.boot;
import org.springframework.boot.autoconfigure.ImportAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.FilterType;
import org.springframework.test.context.ContextConfiguration;
import cokr.xit.foundation.boot.CommonConfig;
@ -17,9 +19,21 @@ import cokr.xit.foundation.boot.TransactionConfig;
CommonConfig.class,
ServletConfig.class,
MvcConfig2.class,
DatasourceConfig.class,
TransactionConfig.class,
SecurityConfig.class,
/*
DatasourceConfig.class,
TransactionConfig.class
*/
})
@ComponentScan(
basePackages = "cokr.xit",
excludeFilters = @ComponentScan.Filter(
type = FilterType.ASSIGNABLE_TYPE,
classes = {
DatasourceConfig.class,
TransactionConfig.class
}
)
)
@ContextConfiguration("classpath:spring/context-*.xml")
public class XitBaseApplication {}
Loading…
Cancel
Save