Fixing’s Spark: java.io.IOException: java.lang.ClassNotFoundException: scala.collection.mutable.WrappedArray$ofRef

Problem

When running apache spark was getting the following exception:

java.io.IOException: java.lang.ClassNotFoundException: scala.collection.mutable.WrappedArray$ofRef

Solution

 

Adding to build.sbt

fork := true

Fixed the problem.  It seems that mixing scala 2.10 and 2.11 causes this error.  Here is a related reference.

About Neil Rubens

see http://ActiveIntelligence.org

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*