springboot 模块互相依赖 导致启动项目报错
我现在有两个模块A和B A模块需要用B模块的方法 所以A的pom依赖了B 。同时B也需要用到A模块的方法,所以B的pom反过来依赖了A。
请问该怎么才能不报错啊? 两个模块确实需要互相引用,也不能直接删一个pom的依赖
FeignClient注解不是可以搞定么
Error:java: Annotation processing is not supported for module cycles. Please ensure that all modules from cycle [truck-manager-api,sys-log] are excluded from annotation processing
maven循环依赖。可以把公共部分抽出来一个common工程,然后都引入这个common工程去掉相互的依赖引入