Intellij idea 运行时不要启动Intellij Scala编译服务器
我以SBT任务的形式启动play多模块应用程序,如下所示: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
";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任务运行配置的“启动前”选项卡中是否有其他步骤?您好,否我不知道启动前选项卡为空