Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/vue.js/6.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Intellij idea 运行时不要启动Intellij Scala编译服务器_Intellij Idea_Playframework_Sbt_Playframework 2.5 - Fatal编程技术网

Intellij idea 运行时不要启动Intellij Scala编译服务器

Intellij idea 运行时不要启动Intellij Scala编译服务器,intellij-idea,playframework,sbt,playframework-2.5,Intellij Idea,Playframework,Sbt,Playframework 2.5,我以SBT任务的形式启动play多模块应用程序,如下所示: ";project testProject;~run" 它开始时没有问题,但在重新加载几段代码后,我会得到如下结果 java.lang.IllegalArgumentException: requirement failed: Source file '/Users/testUser/git/test/modules/commons/target/scala-2.11/classes.bak/sbt350689314070336749

我以SBT任务的形式启动play多模块应用程序,如下所示:

";project testProject;~run"
它开始时没有问题,但在重新加载几段代码后,我会得到如下结果

java.lang.IllegalArgumentException: requirement failed: Source file '/Users/testUser/git/test/modules/commons/target/scala-2.11/classes.bak/sbt3506893140703367490.class' does not exist.

at scala.Predef$.require(Predef.scala:233)
at sbt.IO$.copyFile(IO.scala:636)
at sbt.IO$.move(IO.scala:839)
at sbt.inc.ClassfileManager$$anonfun$transactional$1$$anon$2$$anonfun$complete$5.apply(ClassfileManager.scala:66)
谷歌搜索后我发现了这个


如果我在Intellij中手动停止scala编译服务器,那么问题就会消失。问题是每次我运行SBT任务时,编译服务器都会自动启动。是否有办法禁用此功能?

您的SBT任务运行配置的“启动前”选项卡中是否有其他步骤?您好,否我不知道启动前选项卡为空您的SBT任务运行配置的“启动前”选项卡中是否有其他步骤?您好,否我不知道启动前选项卡为空