Why doesn't the subproject compile after moving from 2.2 to 2.3?

I switched to Play Framework 2.3 and now I have the error that my subprojects, on which my project depends, no longer compile.

This is my Build.scala file:

 val main = Project(appName, file(".")).enablePlugins(play.PlayScala).settings( version := appVersion, scalaVersion := "2.10.4", libraryDependencies += jdbc, libraryDependencies += cache, slickCodeGen <<= slickCodeGenTask, sourceGenerators in Compile <+= slickCodeGenTask ).dependsOn(dbGen) 

When I run or compile my project, target/scala-2.10 remains empty. Even if I try to compile the subproject explicitly through the command line ( project dbGen and then compile ), the same result. When compiling my main project, I get java.lang.ClassNotFoundException , since my subproject was not compiled.

Everything was fine with Play 2.2. Any idea what I can do wrong?

+6
source share

Source: https://habr.com/ru/post/971006/


All Articles