spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ritesh Kumar Singh <riteshoneinamill...@gmail.com>
Subject RandomGenerator class not found exception
Date Mon, 17 Nov 2014 08:24:24 GMT
My sbt file for the project includes this:

libraryDependencies ++= Seq(
"org.apache.spark"  %% "spark-core"              % "1.1.0",
"org.apache.spark"  %% "spark-mllib"             % "1.1.0",
"org.apache.commons" % "commons-math3" % "3.3"
)
=============================================================

Still I am getting this error:

>java.lang.NoClassDefFoundError:
org/apache/commons/math3/random/RandomGenerator

=============================================================

The jar at location: ~/.m2/repository/org/apache/commons/commons-math3/3.3
contains the random generator class:

 $ jar tvf commons-math3-3.3.jar | grep RandomGenerator
>org/apache/commons/math3/random/RandomGenerator.class
>org/apache/commons/math3/random/UniformRandomGenerator.class
>org/apache/commons/math3/random/SynchronizedRandomGenerator.class
>org/apache/commons/math3/random/AbstractRandomGenerator.class
>org/apache/commons/math3/random/RandomGeneratorFactory$1.class
>org/apache/commons/math3/random/RandomGeneratorFactory.class
>org/apache/commons/math3/random/StableRandomGenerator.class
>org/apache/commons/math3/random/NormalizedRandomGenerator.class
>org/apache/commons/math3/random/JDKRandomGenerator.class
>org/apache/commons/math3/random/GaussianRandomGenerator.class


Please help

Mime
View raw message