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然后确定。
AtomGit 是由开放原子开源基金会联合 CSDN 等生态伙伴共同推出的新一代开源与人工智能协作平台。平台坚持“开放、中立、公益”的理念,把代码托管、模型共享、数据集托管、智能体开发体验和算力服务整合在一起,为开发者提供从开发、训练到部署的一站式体验。
更多推荐


所有评论(0)