You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 7, 2022. It is now read-only.
The log of sbt shell:
(workspace) ➜ zeromq sbt
[info] Loading project definition from /Users/lavenderuni/workspace/lesson/scala/zeromq/project
[info] Set current project to scala-zeromq (in build file:/Users/lavenderuni/workspace/lesson/scala/zeromq/)
test
[warn] Credentials file /Users/lavenderuni/.nexuscredentials does not exist
[info] Compiling 10 Scala sources to /Users/lavenderuni/workspace/lesson/scala/zeromq/target/scala-2.11/classes...
[error] /Users/lavenderuni/workspace/lesson/scala/zeromq/src/main/scala/zeromq/PollIInterrupter.scala:4: object zeromq is not a member of package org
[error] import org.zeromq.{ ZMQ, ZMQException }
[error] ^
[error] /Users/lavenderuni/workspace/lesson/scala/zeromq/src/main/scala/zeromq/PollIInterrupter.scala:15: not found: value ZMQ
[error] private[zeromq] class PollInterrupter(socket: ZMQ.Socket) extends Actor {
But it is right in scala shell:
(workspace) ➜ zeromq scala
Welcome to Scala 2.11.8 (Java HotSpot(TM) 64-Bit Server VM, Java 1.8.0_91).
Type in expressions for evaluation. Or try :help.
how to use this tool with scala sbt?
The log of sbt shell:
(workspace) ➜ zeromq sbt
[info] Loading project definition from /Users/lavenderuni/workspace/lesson/scala/zeromq/project
[info] Set current project to scala-zeromq (in build file:/Users/lavenderuni/workspace/lesson/scala/zeromq/)
But it is right in scala shell:
(workspace) ➜ zeromq scala
Welcome to Scala 2.11.8 (Java HotSpot(TM) 64-Bit Server VM, Java 1.8.0_91).
Type in expressions for evaluation. Or try :help.
scala> import org.zeromq.ZMQ
import org.zeromq.ZMQ
The text was updated successfully, but these errors were encountered: