在“sbt run"中抛出 sbt.TrapExitSecurityException [英] sbt.TrapExitSecurityException thrown at "sbt run"
本文介绍了在“sbt run"中抛出 sbt.TrapExitSecurityException的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我创建了一个简单的 Scala 控制台应用程序.我通过 sbt run
运行它并在退出时总是收到以下异常:
I've created a simple Scala console application. I run it by sbt run
and always receive the following exception on exit:
Exception: sbt.TrapExitSecurityException thrown from the UncaughtExceptionHandler in thread "run-main-0"
[success] Total time: 17 s, completed 30.01.2014 22:19:37
之后,我的所有控制台输出都变得不可见.我可以键入和运行应用程序,但看不到我正在键入的内容.
After that all my console output becomes invisible. I can type and run applications but I cannot see what I'm typing.
这个异常是什么意思?我做错了什么?
What does this exception means? What am I doing wrong?
推荐答案
// build.sbt
trapExit := false
为我工作
这篇关于在“sbt run"中抛出 sbt.TrapExitSecurityException的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文