你的赛博博客

探索数字未来的边界

springboot启动类剔除扫描某个包

// 排除api中不引数据库导致的报错包
@ComponentScan(excludeFilters =
{
@ComponentScan.Filter(type = FilterType.REGEX,pattern = "com.integration.aop.log.service.*")
})
posted @ 2023-02-27 09:20  Aoul  阅读(568)  评论(0)    收藏  举报