Scoobi.class is broken. (class scala.reflect.ScalaSignature not found.)

34 views
Skip to first unread message

Prashant Bhardwaj

unread,
Dec 4, 2014, 5:04:19 AM12/4/14
to scoobi...@googlegroups.com
I'm getting following error while trying to build a simple wordcount maven project using scoobi.

[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ scoobi-example ---
[INFO] Deleting /root/scoobi-example/target
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ scoobi-example ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /root/scoobi-example/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ scoobi-example ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-scala-plugin:2.15.2:compile (default) @ scoobi-example ---
[INFO] Checking for multiple versions of scala
[WARNING]  Expected all dependencies to require Scala version: 2.6.1
[WARNING]  com.ebay.scoobi.example:scoobi-example:1.0-SNAPSHOT requires scala version: 2.6.1
[WARNING]  com.nicta:scoobi_2.10:0.8.0 requires scala version: 2.10.3
[WARNING] Multiple versions of scala libraries detected!
[INFO] includes = [**/*.scala,]
[INFO] excludes = []
[INFO] /root/scoobi-example/src/main/scala:-1: info: compiling
[INFO] Compiling 1 source files to /root/scoobi-example/target/classes at 1417687296596
[ERROR] error: error while loading Scoobi, class file '/root/.m2/repository/com/nicta/scoobi_2.10/0.8.0/scoobi_2.10-0.8.0.jar(com/nicta/scoobi/Scoobi.class)' is broken
[INFO] (class scala.reflect.ScalaSignature not found.)
[ERROR] one error found
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 27.211 s
[INFO] Finished at: 2014-12-04T03:01:38-07:00
[INFO] Final Memory: 17M/330M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.scala-tools:maven-scala-plugin:2.15.2:compile (default) on project scoobi-example: wrap: org.apache.commons.exec.ExecuteException: Process exited with an error: 1(Exit value: 1) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:

Eric Torreborre

unread,
Dec 4, 2014, 5:55:20 AM12/4/14
to scoobi...@googlegroups.com
 Can you try to use more recent versions of Scoobi, 0.9.1, and even Scala if you can (2.11.4)?

Eric.
Reply all
Reply to author
Forward
0 new messages