You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Exception in thread "main" java.lang.NoClassDefFoundError: cats/functor/Contravariant
at vegas.spec.Spec$LowPriorityImplicits$class.$init$(Spec.scala:1032)
at vegas.spec.Spec$Implicits$.<init>(Spec.scala:2519)
at vegas.spec.Spec$Implicits$.<clinit>(Spec.scala)
at vegas.DSL.ExtendedUnitSpecBuilder.toJson(SpecDSL.scala:55)
at vegas.DSL.SpecBuilder$SpecBuilderRenderOps$.window$extension(SpecDSL.scala:102)
at ShowCalibrationFunction$$anonfun$main$1.apply(ShowCalibrationFunction.scala:54)
at ShowCalibrationFunction$$anonfun$main$1.apply(ShowCalibrationFunction.scala:54)
at vegas.render.ShowRender$$anon$1.apply(ShowRender.scala:12)
at vegas.render.ShowRender$$anon$1.apply(ShowRender.scala:11)
at vegas.DSL.SpecBuilder$SpecBuilderRenderOps$.show$extension(SpecDSL.scala:99)
at ShowCalibrationFunction$.main(ShowCalibrationFunction.scala:54)
at ShowCalibrationFunction.main(ShowCalibrationFunction.scala)
Caused by: java.lang.ClassNotFoundException: cats.functor.Contravariant
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 12 more
In my build.sbt:
importDependencies._lazyvalcommonSettings=Seq(
organization :="fr.xxxxxxxxx",
version :="0.1.0-SNAPSHOT",
scalaVersion :="2.11.4",
libraryDependencies += scalaTest %Test
)
lazyvalroot= (project in file(".")).
settings(
commonSettings,
name :="xxxxxxxxxxxx",
libraryDependencies ++= vegas
)
Hi,
I am trying to run the example:
But I get a:
In my
build.sbt
:In my
Dependencies.scala
:What am I doing wrong ?
Thanks in advance for any help.
Damien
The text was updated successfully, but these errors were encountered: