Ale*_*lex 1 sbt playframework-2.3
我试图在Windows 8上使用avtivator start或启动Play Framework 2.3.4服务器sbt start,并遇到以下错误:
The input line is too long.
The syntax of the command is incorrect.
Run Code Online (Sandbox Code Playgroud)
因为CLASSPATH很长.但是使用新创建的应用程序的事件我遇到了错误:
Bad application path: -Dhttp.port=9000
Run Code Online (Sandbox Code Playgroud)
第一个问题可以通过添加以下行来解决build.sbt:
import com.typesafe.sbt.packager.Keys._
scriptClasspath := Seq("*")
Run Code Online (Sandbox Code Playgroud)
第二个问题是sbt-native-packager for Windows中当前未解决的错误.我的解决方法是使用sbt stage然后直接启动生成的bat文件
\target\universal\stage\bin\
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
1323 次 |
| 最近记录: |