0
点赞
收藏
分享

微信扫一扫

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


        有一段时间没碰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

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

dao的pom.xml

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

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

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

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



举报

相关推荐

0 条评论