IDEA中循环依赖解决方法

循行程序是报错Annotation processing is not supported for module cycles. Please ensure that all modules from cycle 是你的项目中出现依赖循环的问题;

解决方法:

一、查找循环依赖

  IDEA菜单栏中打开Analyze->Analyze Module Dependencies...看到有的模块被红色的标出来了,并且右边显示了循环依赖。

二、删除循环依赖

  IDEA菜单栏file->Project Settings->Modules-> 找到对应的module->remove掉相应的依赖

原文地址:https://www.cnblogs.com/zandz/p/8653880.html