Hi again,

On Thu, Oct 30, 2014 at 11:50 AM, Tobias Pfeiffer <t...@preferred.jp> wrote:
>
> Spark assembly has been built with Hive, including Datanucleus jars on
> classpath
> Exception in thread "main" java.lang.NoClassDefFoundError:
> com/typesafe/scalalogging/slf4j/Logger
>

It turned out scalalogging was not included in the fat jar due to <
https://github.com/sbt/sbt-assembly/issues/116>.


> I am using
>   "com.typesafe.scala-logging" %% "scala-logging-slf4j"    % "2.1.2"
> instead of
>   "com.typesafe" %% "scalalogging-slf4j"    % "1.1.0"
> in my SBT file, could that be a reason?
>

So yes, that was the reason, in a way... however, I decided to include
scala in the fat jar instead of modifying all my logging code...

Tobias

Reply via email to