【发布时间】:2013-09-14 01:39:51
【问题描述】:
我正在尝试使用 scala 2.10.2 执行 scala 代码,该代码使用了一些用 sbt 编译的 jar 库。
我收到以下错误:
scala: error while loading Order, class file '..\prestashop-scala-client-0.2.4\target\prestasac-0.2.4.jar(co/orderly/prestasac/representations/Order.class)' is broken
(class java.lang.RuntimeException/Scala class file does not contain Scala annotation)
prestasac-0.2.4.jar 的来源在 github:Order.class
有什么办法可以解决这个问题吗?
谢谢
【问题讨论】:
-
你有 Order 类的源码吗?它可能提供有用的信息,例如可能与this issue有关。
-
好的,我已将链接添加到 github 上的源代码。
标签: scala compilation annotations