IDEA中依赖报错Error:java: Annotation processing is not supported for module cycles...

报错提示:

IDEA中依赖报错Error:java: Annotation processing is not supported for module cycles...

解决步骤:

选择file->project structure->Modules

IDEA中依赖报错Error:java: Annotation processing is not supported for module cycles...

IDEA中依赖报错Error:java: Annotation processing is not supported for module cycles...

由于我的maven项目是yingxue-web依赖yingxue-service,所以要删除yingxue-service中的yingxue-web依赖,留下yingxue-web中的yingxue-service依赖。

问题原因:就是依赖循环,使得程序无法运行