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

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然后确定。

  • 6
    点赞
  • 12
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值