解决com.intellij.openapi.project.IndexNotReadyException: Please change caller according to com.intellij.

File->Invalidate Cache and Restart
原文地址:https://www.cnblogs.com/sprinng/p/7930229.html