Reputation: 2595
I have an play application, IntelliJ CE does not recognise anything play.*
such as: Error:not found: object play import play.api.GlobalSettings
How can I fix this?
It is a gradle project and building fine from command-line but intelliJ CE has some problem with the code.
Upvotes: 0
Views: 199
Reputation: 1789
Three ways you can deal with this (assuming your IntellJ is up to date):
Close the IntellJ and import the project again as a Gradle project.
Remove the .idea
folder within the project's folder; and try to import it again.
Click to Invalid Caches / Restart
from the file
menu.
Upvotes: 0