Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试在项目中使用 querulous。它编译得很好,sbt compile但是当我这样做时,sbt run我得到: java.lang.NoClassDefFoundError: com/twitter/conversions/time
sbt compile
sbt run
知道为什么会发生这种情况吗?
通常是因为包含相关类的 jar 在编译时位于类路径中,但在运行时不在。-classpath调用scala时检查参数。
-classpath