简体   繁体   English

Intellij 14 Scala插件1.4:Play项目无法启动

[英]Intellij 14 Scala plugin 1.4: Play project not launching

Today I got an update on Scala from 1.3.x to 1.4 After that, Intellij stopped launching my play projects. 今天,我在Scala上从1.3.x更新到1.4。之后,Intellij停止启动我的游戏项目。

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. 然后它开始从终端/控制台运行,但是当我在Intellij的Play配置中按Run / Debug时,它只是使项目完成,然后什么也没有发生。 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. 我正在使用与昨天完全相同的项目,除了安装新的scala插件外没有任何更改。

I tried reverting back to 1.3 on scala, but it keeps saying that version is not compatible with the new Intellij. 我尝试在scala上恢复到1.3,但一直说该版本与新的Intellij不兼容。

I am using a Win 8 machine 64 bit. 我正在使用Win 8计算机64位。

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 作为目前的快速修复,我从此处安装了较旧版本的插件-https: //confluence.jetbrains.com/display/SCA/Scala+plugin+EAP

I installed Scala plugin 1.4 RC (1.3.110.35.EAP) and it worked. 我安装了Scala插件1.4 RC(1.3.110.35.EAP),它可以正常工作。 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. 只要确保您没有选择自动更新插件,否则当您重新启动插件时,它会要求您更新scala插件,请不要单击它。

It's running for now but it would be good to have a fix for this soon. 它现在正在运行,但很快对此进行修复将是一件好事。

IntelliJ Tickets IntelliJ门票

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

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

I just installed v1.4.15 and it launches the Play application as expected. 我刚刚安装了v1.4.15,它会按预期启动Play应用程序。 Thank you! 谢谢!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM