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掉相应的依赖

posted @ 2018-03-26 21:07  猪猪侠奔跑吧  阅读(9577)  评论(0编辑  收藏  举报