问题描述
java: Annotation processing is not supported for module cycles. Please ensure that all modules from cycle [BDCloud-business,BDCloud-admin] are excluded from annotation processing
本质:BDCloud-admin模块为主启动模块,其包含了BDCloud-business模块;但在编码过程中BDCloud-business模块无意导入了BDCloud-admin模块,这就导致了循环依赖
解决方法
方法一(亲测有效):
在BDCloud-business模块的pom.xml文件中删除BDCloud-admin依赖
方法二(试了没有效果,但感觉该过程有点作用):
参考文章
【1】https://blog.csdn.net/qq_36743013/article/details/70326771
【2】https://blog.csdn.net/qq_52740173/article/details/134679754
标签:supported,java,BDCloud,business,admin,processing,module,模块 From: https://www.cnblogs.com/ReturnOfTheKing/p/17970523