0
如何導入規格庫?我得到以下錯誤:如何導入規格庫
scala> import org.specs._
<console>:11: error: object specs is not a member of packa
ge org
import org.specs._
^
我認爲這與類路徑中的事,但我不知道如何解決它,因爲我是新來斯卡拉。
實際上,我實際上是試圖在sbt中運行測試,所以如果你能告訴我如何在sbt中導入規格將會很有幫助。
請問您可以告訴您build.sbt的外觀如何! –
@ShivanshSrivastava我想知道在交互模式下運行sbt時是否有辦法將classpath作爲參數傳遞 –