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

Error:java: Annotation processing is not supported for module cycles.异常解决nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp 有一段时间没碰 Springboot 想起用到它的时候还是在去年 nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp 由于要开始准备毕设了 所以最近开始部署 Springboot 的项目 结果在启动的时候 报了以下异常 Error java Annotatio

        有一段时间没碰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
在这里插入图片描述

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

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

在这里插入图片描述

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请联系我们举报,一经查实,本站将立刻删除。

发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/221543.html原文链接:https://javaforall.net

(0)
上一篇 2026年3月17日 下午5:52
下一篇 2026年3月17日 下午5:52


相关推荐

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

关注全栈程序员社区公众号