关于flowable排除exclude
项目换了国产库(崖山),flowable不支持这玩意,项目起不来要先把flowable去掉,为了避免删代码,需要把他相关的包扫描给排除掉,本以为在@ComponentScan那里加个excludeFilters就好了,但一直不生效
@ComponentScan.Filter(type = FilterType.REGEX,pattern = “org.flowable.*”)
@ComponentScan.Filter(type = FilterType.ASSIGNABLE_TYPE, classes = {ProcessEngineAutoConfiguration.ProcessEngineAppConfiguration.class})
都不行
最终在SpringBootApplication这里加了
ProcessEngineAutoConfiguration
ProcessEngineServicesAutoConfiguration
EventRegistryServicesAutoConfiguration
这三个,就可以完全排除flowable相关的扫描了