IntelliJ Ultimate 2018.1 OSX: Unable to run Play Framework project

Answered

Switching to Intellij 2018.1 from 2017.? all my play framework configs disappeared (!?) and I had to deactivate/reactivate the plugin in order for SBT_MODULE to be recognized (...). Now when I recreate a Play framework 2.5.x configuration in my already existing project directory I can't run it anymore (unable to find or load main class).

Do I have to recreate the project ex novo to fix this or is there a way to make play frame work finally work on 2018.1?

Thanks and happy easter to all the lucky guys who are not working like me :-(

0
11 comments
Avatar
Permanently deleted user

Just update the Scala plugin, and restart IntelliJ, should do the trick.

0
Avatar
Permanently deleted user

Sadly I already did it (several times) to fix the SBT_MODULE issue

0
Avatar
Permanently deleted user

Are the Play Framework and Scala plugins updated and active?

0
Avatar
Permanently deleted user

Yes, plus I can compile/pack and run the play project from the integrated sbt shell writing 'run'  

0

Hi.

Could you please provide idea.log (Help | Show log...).

0
Avatar
Permanently deleted user

Hi, sure, here it is the log: https://we.tl/OHihuXhOb0

0

Does it helps if you remove .idea and reimport the project?

0
Avatar
Permanently deleted user

Actually dunno, It's part of what I asked in my question. I would gladly avoid to reconfigure all the project and I hoped there was a more "polite" solution to fix this bug

0
Avatar
Permanently deleted user

I have the same problem with IntelliJ 2018.1 on Windows. The whole SBT stuff disappeared and I can't import an SBT project.

0

I have the same problem.  When I open my project from 2017.X, I get this error message:

 

Cannot determine module type for the following modules: "common-build" (type 'SBT_MODULE') "main-build" (type 'SBT_MODULE') All mentioned modules will be treated as Unknown modules.

 

Those two modules include all of the common libraries across all my projects, so essentially, my IntelliJ is filled with "Cannot resolve symbol" messages since all the external dependencies are missing.

 When I blow away the .idea folder, and try to re-import the project, I get a "Cannot Import" cannot import anything from /mypath/build.sbt

Any help would be greatly appreciated.

0

Hi.

We have a master ticket for SBT import problems: https://youtrack.jetbrains.com/issue/SCL-13628

Please try manually updating / reinstalling both Scala and SBT plugins

0

Please sign in to leave a comment.