java: Annotation processing is not supported for module cycles.模块循环依赖解决方案

项目报错:
java: Annotation processing is not supported for module cycles. Please ensure that all modules from cycle [JDD-common,JDD-item-interface] are excluded from annotation processing

简而言之: JDD-common,JDD-item-interface 这两个模块存在循环依赖。

解决方案:
先分析模块之间的依赖
java: Annotation processing is not supported for module cycles.模块循环依赖解决方案
接着在出现的红色模块中点开模块设置,
java: Annotation processing is not supported for module cycles.模块循环依赖解决方案
选择找到冲突的那个模块删除
java: Annotation processing is not supported for module cycles.模块循环依赖解决方案
最后点刷新一下就可以了!
java: Annotation processing is not supported for module cycles.模块循环依赖解决方案

**

另法: 直接到POM文件下找到冲突的依赖,直接注释掉!

**
java: Annotation processing is not supported for module cycles.模块循环依赖解决方案