命令提示符显示,
[info] Compiling 1 Scala source to /home/winoria/winoria/target/scala-2.10/classes...
[info] Compiling 1 Scala source to /home/winoria/winoria/target/scala-2.10/classes...
--- (RELOAD) ---
[info] Compiling 1 Scala source to /home/winoria/winoria/target/scala-2.10/classes...
[info] Compiling 1 Scala source to /home/winoria/winoria/target/scala-2.10/classes...
--- (RELOAD) ---
[info] Compiling 1 Scala source to /home/winoria/winoria/target/scala-2.10/classes...
[info] Compiling 1 Scala source to /home/winoria/winoria/target/scala-2.10/classes...
取消执行
[warn] Canceling execution...
[ERROR] Failed to construct terminal; falling back to unsupported
java.io.IOException: Unrecognized stty code:
at jline.internal.TerminalLineSettings.<init>(TerminalLineSettings.java:59)
at jline.UnixTerminal.<init>(UnixTerminal.java:31)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at java.lang.Class.newInstance(Class.java:374)
at jline.TerminalFactory.getFlavor(TerminalFactory.java:168)
at jline.TerminalFactory.create(TerminalFactory.java:81)
at jline.TerminalFactory.get(TerminalFactory.java:159)
at sbt.MainLoop$$anon$1.run(MainLoop.scala:19)
at java.lang.Thread.run(Thread.java:724)
答案 0 :(得分:1)
我得到了一个解决方案。
我的旧文件(wall.scala.html)
遇到了这个问题。
所以我删除它,并创建一个具有相同名称(wall.scala.html)
的新文件,并将旧代码粘贴到新文件中,现在这可以正常工作。