Error:java: Annotation processing is not supported for module cycles. Please ensure that all modules from cycle [tz-common,tz-framework,tz-system] are excluded from annotation processing
在用Springboot做开发时出现了上述错误,该错误意思是:pom文件中模块之间的依赖关系出现了错误,形成了死循环。
我的就是 tz-common、tz-framework、tz-system 这三个模块互相依赖形成死循环导致错误,所以只需要去掉一个依赖关系就行。
比如让 tz-system 依赖 tz-common, tz-common 依赖 tz-framework就可以了。
本文介绍了解决Spring Boot项目中因模块依赖形成的死循环问题。通过调整tz-common、tz-framework、tz-system三个模块间的依赖关系,避免了错误的发生。
5754

被折叠的 条评论
为什么被折叠?



