当前位置:   article > 正文

springboot报错:Annotation processing is not supported for module cycles. Please ensure that all module

annotation processing is not supported for module cycles. please ensure that

报错

Error:java: Annotation processing is not supported for module cycles. Please ensure that all modules from cycle [changgou-common,changgou-service-user-api] are excluded from annotation processing

从字面意思理解,也就是changgou-common,changgou-service-user-api两个模块之间互相依赖,在进行Annotation处理时,形成了死循环。

解决方案

从字面意思来看,可能是pom文件中,两个模块进行了相互引用(我印象里没有),经过检查,这两个模块的pom文件中确实不存在相互引用。

查找了一个解决方案,解决问题:
1.进行模块之间依赖的分析在这里插入图片描述
2.如果两个模块间存在依赖死循环,会出现标红提示(我不想再复现bug,借用别人的图了

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/从前慢现在也慢/article/detail/475685
推荐阅读
相关标签