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