当前位置:   article > 正文

Error:java: Annotation processing is not supported for module cycles.异常解决

annotation processing is not supported for

        有一段时间没碰Springboot,想起用到它的时候还是在去年…

        由于要开始准备毕设了,所以最近开始部署Springboot的项目,结果在启动的时候,报了以下异常:

Error:java: Annotation processing is not supported for module cycles. Please ensure that all modules from cycle [dao,domain] are excluded from annotation processing

        大致意思就是说我dao模块和domain模块的依赖设置错了…

        于是我打开dao和domain的pom文件。

domain的pom.xml
在这里插入图片描述

dao的pom.xml
在这里插入图片描述

        果不其然,两个模块设置成相互依赖,类似死循环

        解决方案也很简单,把其中的一个依赖删了即可…或者单独依赖一个其他模块~

在这里插入图片描述

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

闽ICP备14008679号