java cannot resolve symbol io code example Example: java cannot resolve symbol you should try File | Invalidate Caches