IDEA 报错 cannot access com.xxx

类存在,项目编译,运行都没有问题,但是代码提示 cannot access com.xxx ,这是IDE的bug,可以点击清除缓存并重启命令后恢复正常。

IDEA 报错 cannot access com.xxx