Error:java: Annotation processing is not supported for module cycles. Please ensure that all modules

转自:https://www.cnblogs.com/panpanshen/p/9668058.html

早上学习maven环境搭建时遇到的这个问题

下面这个错误的大概意思是:模块之间的互相依赖

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

处理模块之间的依赖关系(模块之间不能有依赖)

 

Error:java: Annotation processing is not supported for module cycles. Please ensure that all modules

红色框的就是两个模块之间互相依赖

 Error:java: Annotation processing is not supported for module cycles. Please ensure that all modules

 

Error:java: Annotation processing is not supported for module cycles. Please ensure that all modules

 

右键不想不依赖的包选中open module setting这个选项

Error:java: Annotation processing is not supported for module cycles. Please ensure that all modules

 

上一篇:地震射线追踪与有限差分正演模拟小软件


下一篇:报错:The processing instruction target matching "[xX][mM][lL]" is not allowed.