-->

Intellij 14 Scala plugin 1.4: Play project not lau

2019-08-08 02:21发布

问题:

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!