idea maven install时出现: Compilation failure-xxx.程序包不存在问题

 
解决办法:
 
试过很多方法,都没有成功,因为我这个是同一个model里面两个类相互引用时出现这个错误,然后查看控制台提示:
 
[ERROR] After correcting the problems, you can resume the build with the command

由于项目是从传统的SSM架构的单体应用,向springboot项目微服务进行拆分,在拆分时,对有些类,没有被springboot启动类扫描到,
根据报错,我们需要在类上进行添加@Component,

相关文章:

  • 2022-01-12
  • 2021-09-29
  • 2021-10-14
  • 2021-10-17
  • 2021-05-15
  • 2022-02-18
  • 2022-12-23
  • 2021-12-25
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-10
  • 2021-09-29
  • 2021-05-26
  • 2021-08-20
  • 2022-12-23
相关资源
相似解决方案