当前位置:   article > 正文

java: Annotation processing is not supported for module cycles. Please ensure that all modules......

java: annotation processing is not supported for module cycles. please ensur

1.提示:java: Annotation processing is not supported for module cycles. Please ensure that all modules from cycle [bpm-point-service-api,bpm-point-service-domain] are excluded from annotation processing
2.上面问题翻译是:出现了依赖循环错误来自于 [bpm-point-service-api,bpm-point-service-domain] 这两个文件,所以接下来我们要对这两个依赖进行分析。
3.进行依赖分析,找到对应的文件bpm-point-service-api(这里我们先选择这个文件),右键analyze->analyze module dependencies
在这里插入图片描述
4.
一:开始进行分析,首先点击左上角那个文件的小图标(include test …)我是点击才变红,变红的地方就是发生循环的地方。在这里插入图片描述
二:右键open module settings
在这里插入图片描述
三:remove互相包含的地方,这里是bpm-point-service-api包含了bpm-point-service-domain,所以remove了bpm-point-service-domain,这样操作(两边都要analyze)直到不报红。

在这里插入图片描述

一定要记得设置完后apply然后确定。

本文内容由网友自发贡献,转载请注明出处:【wpsshop博客】
推荐阅读
相关标签
  

闽ICP备14008679号