一、问题
Error:java: Annotation processing is not supported for module cycles. Please ensure that all modules from cycle [core,dao,service] are excluded from annotation processing .
今天编译项目的时候出现了上面的问题,检查了各个模块的pom.xml文件中的依赖关系没有发现有循环依赖的的问题。
二、解决方法
IDEA菜单栏中打开Analyze->Analyze Module Dependencies...看到有的模块被红色的标出来了,并且右边显示了循环依赖。选中红色的存在循环依赖的模块右键选中Open Module Settings删除不该出现的依赖即可。
三、参考链接
http://zoroeye.iteye.com/blog/2254445
《IDEA 循环依赖》Annotation processing is not supported for module cycles.
---------------------
作者:小饼干_mum
来源:
原文:https://blog.csdn.net/freyaalisa/article/details/78482360
版权声明:本文为博主原创文章,转载请附上博文链接!