项目报错:
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.模块循环依赖解决方案

相关文章:

  • 2021-06-20
  • 2021-06-28
  • 2021-12-28
  • 2021-09-24
  • 2021-12-16
  • 2022-02-16
猜你喜欢
  • 2021-10-28
  • 2021-04-07
  • 2022-12-23
  • 2022-12-23
  • 2021-12-01
  • 2022-01-06
  • 2021-05-04
相关资源
相似解决方案