Intellij 14 Scala plugin 1.4: Play project not launching

天大地大妈咪最大 提交于 2019-12-13 00:29:19

问题


Today I got an update on Scala from 1.3.x to 1.4 After that, Intellij stopped launching my play projects.

First when I would try to run activator from the command line, it gave me the following error

Error: Unable to access jarfile <path to project>\activator-launch-1.2.8.jar

So I replaced all the activator files from within the project. Then it started to run from the teriminal/console but when I hit Run/Debug on the my Play configuration in Intellij it simply makes the project and then nothing happens. It doesn't launch in the browser. There are no errors in the event log; just compilation successful message.

I'm using the exact same project from yesterday with no changes apart from installing the new scala plugin.

I tried reverting back to 1.3 on scala, but it keeps saying that version is not compatible with the new Intellij.

I am using a Win 8 machine 64 bit.

Temporary Solution:

As a quick fix for now, I installed an older version of the plugin from here - https://confluence.jetbrains.com/display/SCA/Scala+plugin+EAP

I installed Scala plugin 1.4 RC (1.3.110.35.EAP) and it worked. Just make sure you do not select to auto-update your plugins or when you restart it will ask you to update the scala plugin, do not click that.

It's running for now but it would be good to have a fix for this soon.

IntelliJ Tickets

https://youtrack.jetbrains.com/issue/SCL-8484

https://youtrack.jetbrains.com/issue/SCL-8512


回答1:


I just installed v1.4.15 and it launches the Play application as expected. Thank you!



来源:https://stackoverflow.com/questions/29144363/intellij-14-scala-plugin-1-4-play-project-not-launching

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!