IDEA 中不能加载Class,不能点击跳转,但是编译不报错!!!

424 阅读1分钟

这种情况清理一下缓存就好了!!

File->Invalidate Caches

image.png

勾选中间的两个,清除日志和索引

image.png

然后就好了!!!