Scala compiler does not output types in scala: testCompile

How do I configure a scala compiler-plugin to compile, as in Eclipse? src / scala and src / java compile just fine, but when I compile the tests, I get

These test runs work fine in Eclipse, and I believe this because of the flag in the compiler using eclipse. Anyone with the same issue when trying to compile tests in maven?

[ERROR] MissionDataSet.scala:23: error: type mismatch; [INFO] found : com.thegamifiers.fanwards.model.mission.objective.Objective [INFO] required: ?{val asInstanceOf: ?} [INFO] Note that implicit conversions are not applicable because they are ambiguous: 
+4
source share

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


All Articles