源码之家

  • 首页
  • 文章
  • 问答
  • 下载
您的位置: 首页  >  文章  >  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

分类: 文章 • 2022-10-28 12:49:19

启动项目时,会报这样的错误,产生的原因是就是我依赖了你,同时你也依赖了我,这时候就回产生循环依赖问题
不允许module之间进行循环依赖
如下图:
Error:java: Annotation processing is not supported for module cycles. Please ensure that all modulesError: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

解决:
在pom.xml文件中删除其中一个依赖,然后重新启动,就可以了

相关推荐

  • Error:java: Annotation processing is not supported for module cycles. Please ensure that all module
  • Error:java: Annotation processing is not supported for module cycles. Please ensure that all module
  • Error:java: Annotation processing is not supported for module cycles.异常解决
  • 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
  • Annotation processing is not supported for module cycles. Please ensure that all modules from cycle
  • Error:java: Annotation processing is not supported for module cycles. Please ensure that all modules
  • Annotation processing is not supported for module cycles. Please ensure that all modules from cycle
    网站免责声明 网站地图 最新文章 用户隐私 版权申明
本站所有数据收集于网络,如果侵犯到您的权益,请联系网站进行下架处理。   

Copyright © 2018-2021   Powered By 源码之家    备案号:   粤ICP备20058927号