我在编译时有异常提示:Error:java: Annotation processing is not supported for module cycles. Please ensure that all modules from cycle [esign-consumer-service,esign-consumer-common] are excluded from annotation processing。。。
在网上搜的原因是[esign-consumer-service,esign-consumer-common]这两个模块中的pom文件中存在有依赖互相依赖,类似死循环,然而我删掉其中一个或者都删掉后编辑报错更离谱。
原因是这两个模块中存在多个地方相互调用,我的解决方法是将调用的java类放到调用模块中,这样就不会报错了。