Anurag Sharma
Anurag Sharma

Reputation: 2595

IntelliJ CE does not recognise Play framework

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

Answers (2)

CrazyCoder
CrazyCoder

Reputation: 401877

Play framework is supported only in IntelliJ IDEA Ultimate.

Upvotes: 1

o-0
o-0

Reputation: 1789

Three ways you can deal with this (assuming your IntellJ is up to date):

  1. Close the IntellJ and import the project again as a Gradle project.

  2. Remove the .idea folder within the project's folder; and try to import it again.

  3. Click to Invalid Caches / Restart from the file menu.

Upvotes: 0

Related Questions