Kailash
Kailash

Reputation: 785

Intellij caching issue - need to rebuild project

I keep running into this issue with Intellij, where when i add a new method to a class, compilation fails saying that it cant find that new method, perhaps because the cache doesn't contain that method signature, although i just added the new method.

I have to rebuild the entire project which takes about an hour..

Is there anything i can do to avoid a rebuild and save that time?

Upvotes: 1

Views: 2379

Answers (1)

CrazyCoder
CrazyCoder

Reputation: 401925

Try File | Invalidate Caches and restart. If it doesn't help, contact JetBrains support with a sample project and the steps to reproduce.

Upvotes: 2

Related Questions