wolfe-pack / moro

Interactive documentation and programming with Scala, iPython notebook style.
http://wolfe-pack.github.io/moro
BSD 2-Clause "Simplified" License
19 stars 3 forks source link

First compilation of Scala cell gives error in LazyLogging #64

Closed rockt closed 9 years ago

rockt commented 9 years ago

I always get this error for the first Scala cell. All subsequent Scala cells are compiled fine though and when I recompile the first cell then it works.

error: missing or invalid dependency detected while loading class file 'LazyLogging.class'.
Could not access type Logging in package com.typesafe.scalalogging,
because it (or its dependencies) are missing. Check your build definition for
missing or conflicting dependencies. (Re-run with `-Ylog-classpath` to see the problematic classpath.)
A full rebuild may help if 'LazyLogging.class' was compiled against an incompatible version of com.typesafe.scalalogging.
riedelcastro commented 9 years ago

Add the logging classes to the conf classesForJarPath, like here.

rockt commented 9 years ago

Thanks! I think the reference.conf is outdated since the logging class has to go into the scala compiler (there is no wolfe compiler anymore, no?).

riedelcastro commented 9 years ago

Yep, it's outdated.