【问题标题】:Spray sbt-resolver not working for Akka http appSpray sbt-resolver 不适用于 Akka http 应用程序
【发布时间】:2017-03-02 03:49:27
【问题描述】:

我用过这个插件https://github.com/spray/sbt-revolver

根据文档,我只需要添加addSbtPlugin("io.spray" % "sbt-revolver" % "0.8.0")

然后使用sbt re-start启动应用程序

然后控制台显示... killing ...

我不知道发生了什么,我错过了什么吗?

【问题讨论】:

    标签: scala sbt akka akka-http


    【解决方案1】:

    re-start 旨在从sbt 控制台使用。如果您从 shell 运行命令,sbt 将运行 re-start,命令将完成(您的进程在后台),然后sbt 将立即退出。

    启动控制台,然后运行re-start

    $ sbt
    ...
    [info] Set current project to my-app
    > re-start
    [info] Application my-app not yet started
    [info] Starting application my-app in the background ...
    > 
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2020-07-07
      • 1970-01-01
      • 2019-02-25
      • 2018-09-15
      • 2021-03-11
      • 2017-09-18
      • 1970-01-01
      • 2014-09-30
      相关资源
      最近更新 更多