idea里选择file->project structure->modules在这里清除之前的信息

idea里处理can not find declaration to go

 

 然后,import module你的所有module就好。

idea里处理can not find declaration to go

 注:有的原因是:导入项目的时候使用的是Open而不是Import Project。 解决方法:关闭当前项目,如图点击Import PrOject,导入项目即可。但是这里我的情况重新import不可以。

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-01-10
  • 2021-04-08
  • 2021-06-24
  • 2021-09-29
  • 2021-12-15
  • 2021-12-18
猜你喜欢
  • 2021-11-07
  • 2022-01-07
  • 2021-11-04
  • 2021-03-31
  • 2021-07-28
  • 2021-09-23
相关资源
相似解决方案