这个报错是指循环依赖了,也就是依赖某个module 有2次或以上。

打开Annotation processing isnot supported for module cycles

报红的就是里面有重复依赖的module

Annotation processing isnot supported for module cycles

以rest-api这个module为例查看它pom文件

Annotation processing isnot supported for module cycles

可以看到,它本身依赖了dbtools这个module,但是上面它又继承了整个项目mddx的依赖,

下面我们看整个项目mddx的依赖,也就是最外层的pom文件里面,

Annotation processing isnot supported for module cycles

里面又依赖了rest-api本身,等于rest-api依赖了两次dbtools。删掉最外层pom里的这个依赖,rebuild一下就好了

相关文章:

  • 2021-12-16
  • 2022-01-06
  • 2022-02-16
  • 2021-12-01
  • 2021-10-27
猜你喜欢
  • 2022-12-23
  • 2021-05-04
  • 2021-04-07
  • 2021-12-28
  • 2021-10-28
  • 2021-06-20
  • 2021-09-24
相关资源
相似解决方案